Part Number Hot Search : 
BYV1040 1J153L 1J153L SG25AA60 OP265 AT24C21 LC749 S05K250
Product Description
Full Text Search
 

To Download MCF5272 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  coldfire ? microcontrollers freescale.com MCF5272 coldfire ? integrated microprocessor user?s manual MCF5272um rev. 3 03/2007

overview coldfire core hardware multiply/accumulate (mac) unit local memory debug support system integration module (sim) interrupt controller chip-select module sdram controller dma controller module ethernet module universal serial bus (usb) physical layer interface controller (plic) queued serial peripheral interface (qspi) module timer module uart modules general-purpose i/o module pulse-width modulation (pwm) module signal descriptions bus operation appendix b: buffering and impedence matching index appendix a: list of memory maps 1 2 3 4 5 7 8 9 10 11 12 13 14 15 16 17 18 19 a 6 20 b ind 21 23 22 ieee 1149.1 test access port (jtag) mechanical data electrical characteristics
overview coldfire core hardware multiply/accumulate (mac) unit local memory debug support system integration module (sim) interrupt controller chip-select module sdram controller dma controller module ethernet module universal serial bus (usb) physical layer interface controller (plic) queued serial peripheral interface (qspi) module timer module uart modules general-purpose i/o module pulse-width modulation (pwm) module signal descriptions bus operation appendix b: buffering and impedence matching index appendix a: list of memory maps 1 2 3 4 5 7 8 9 10 11 12 13 14 15 16 17 18 19 a 6 20 b ind 21 23 22 ieee 1149.1 test access port (jtag) mechanical data electrical characteristics
MCF5272 coldfire ? integrated microprocessor user?s manual, rev. 3 freescale semiconductor v list of figures figure page number title number 1-1 MCF5272 block diagram ....................................................................................................... .1-2 2-1 coldfire pipeline........................................................................................................... .......... 2-2 2-2 coldfire multiply-accumulate f unctionality diagram.............................................................. 2-3 2-3 coldfire programming model ................................................................................................. 2 -5 2-4 condition code register (ccr).............................................................................................. 2 -6 2-5 status register (sr) ........................................................................................................ ....... 2-8 2-6 vector base register (vbr) .................................................................................................. .2-8 2-7 organization of integer data formats in data registers ...................................................... 2-10 2-8 organization of integer data formats in address registers................................................. 2-10 2-9 memory operand addressing ............................................................................................... 2-11 2-10 exception stack frame form................................................................................................ 2 -27 3-1 coldfire mac multiplication and accumulation ...................................................................... 3-1 3-2 mac programming model....................................................................................................... 3-2 4-1 sram base address register (rambar) ............................................................................. 4-3 4-2 rom base address register (rombar).............................................................................. 4-5 4-3 instruction cache block diagram............................................................................................ 4 -8 4-4 cache control register (cacr) ........................................................................................... 4-12 4-5 access control register format (acrn) .............................................................................. 4-14 5-1 processor/debug module interface......................................................................................... 5-1 5-2 pstclk timing ............................................................................................................... ....... 5-2 5-3 example jmp instruction output on pst/ddata .................................................................. 5-5 5-4 debug programming model .................................................................................................... 5 -6 5-5 address attribute trigger register (aatr)............................................................................. 5-7 5-6 address breakpoint registers (ablr, abhr)........................................................................ 5-9 5-7 configuration/status register (csr) .................................................................................... 5-10 5-8 data breakpoint/mask registers (dbr and dbmr) ............................................................. 5-12 5-9 program counter breakpoint register (pbr) ....................................................................... 5-13 5-10 program counter breakpoint mask register (pbmr)........................................................... 5-13 5-11 trigger definition register (tdr).......................................................................................... 5-14 5-12 bdm serial interface timing ................................................................................................ .5-17 5-13 receive bdm packet ......................................................................................................... ... 5-18 5-14 transmit bdm packet ........................................................................................................ ... 5-18 5-15 bdm command format ........................................................................................................ 5 -20 5-16 command sequence diagram.............................................................................................. 5-21 5-17 rareg / rdreg command format .......................................................................................... 5-22 5-18 rareg / rdreg command sequence...................................................................................... 5-22 5-19 wareg / wdreg command format ......................................................................................... 5-23 5-20 wareg / wdreg command sequence .................................................................................... 5-23 5-21 read command/result formats ........................................................................................... 5-24 5-22 read command sequence ................................................................................................... 5-24
MCF5272 coldfire ? integrated microprocessor user?s manual, rev. 3 vi freescale semiconductor list of figures (continued) figure page number title number 5-23 write command format....................................................................................................... 5-25 5-24 write command sequence .................................................................................................. 5-26 5-25 dump command/result formats.......................................................................................... 5-27 5-26 dump command sequence................................................................................................... 5-27 5-27 fill command format ......................................................................................................... 5-28 5-28 fill command sequence...................................................................................................... 5-29 5-29 go command format............................................................................................................ 5-29 5-30 go command sequence....................................................................................................... 5-29 5-31 nop command format.......................................................................................................... 5-30 5-32 nop command sequence ..................................................................................................... 5-30 5-33 rcreg command/result formats......................................................................................... 5-30 5-34 rcreg command sequence ................................................................................................. 5-31 5-35 wcreg command/result formats ........................................................................................ 5-31 5-36 wcreg command sequence ................................................................................................ 5-31 5-37 rdmreg bdm command/result formats .............................................................................. 5-32 5-38 rdmreg command sequence............................................................................................... 5-32 5-39 wdmreg bdm command format.......................................................................................... 5-33 5-40 wdmreg command sequence .............................................................................................. 5-33 5-41 recommended bdm connector ........................................................................................... 5-41 6-1 sim block diagram ........................................................................................................... ...... 6-1 6-2 module base address register (mbar)................................................................................. 6-4 6-3 system configuration register (scr) .................................................................................... 6-5 6-4 system protection register (spr).......................................................................................... 6- 6 6-5 power management register (pmr) ...................................................................................... 6-7 6-6 activate low-power register (alpr) ................................................................................... 6-10 6-7 device identification register (dir) ...................................................................................... 6- 11 6-8 watchdog reset reference regi ster (wrrr) ..................................................................... 6-12 6-9 watchdog interrupt reference register (wirr)................................................................... 6-12 6-10 watchdog counter register (wcr)...................................................................................... 6-13 6-11 watchdog event register (wer).......................................................................................... 6-13 7-1 interrupt controller block diagram.......................................................................................... 7-2 7-2 interrupt control register 1 (icr1) ......................................................................................... 7-4 7-3 interrupt control register 2 (icr2) ......................................................................................... 7-5 7-4 interrupt control register 3 (icr3) ......................................................................................... 7-5 7-5 interrupt control register 4(icr4) .......................................................................................... 7-5 7-6 interrupt source register (isr)............................................................................................. .. 7-6 7-7 programmable interrupt transition register (pitr) ............................................................... 7-7 7-8 programmable interrupt wakeup register (piwr)................................................................. 7-8 7-9 programmable interrupt vector register (pivr)..................................................................... 7-9 8-1 chip select base registers (csbrn) ..................................................................................... 8-3 8-2 chip select option registers (csorn) ................................................................................. 8-5 9-1 sdram controller signals.................................................................................................... .. 9-2 9-2 54-pin tsop sdram pin definition....................................................................................... 9-3 9-3 sdram configuration register (sdcr).................................. ............................................... 9-6
MCF5272 coldfire ? integrated microprocessor user?s manual, rev. 3 freescale semiconductor vii list of figures (continued) figure page number title number 9-4 sdram timing register (sdtr)............................................................................................ 9-8 9-5 example setup time violation on sdram data input during write ..................................... 9-12 9-6 timing refinement with inverted sdclk.............................................................................. 9-13 9-7 timing refinement with true cas latency and inverted sdclk ........................................ 9-13 9-8 timing refinement with effective cas latency.................................................................... 9-14 9-9 sdram burst read, 32-bit port, page miss, access = 9-1-1-1 ........................................... 9-16 9-10 sdram burst read, 32-bit port, page hit, access = 5-1-1-1 .............................................. 9-17 9-11 sdram burst write, 32-bit port, page miss, access = 7-1-1-1 ........................................... 9-18 9-12 sdram burst write, 32-bit port, page hit, access = 3-1-1-1 .............................................. 9-19 9-13 sdram refresh cycle........................................................................................................ .. 9-20 9-14 enter sdram self-refresh mode......................................................................................... 9-21 9-15 exit sdram self-refresh mode ........................................................................................... 9-22 10-1 dma mode register (dmr) .................................................................................................. 10 -2 10-2 dma interrupt register (dir)............................................................................................... .10-4 10-3 dma source address register (dsar)................................................................................ 10-5 10-4 dma destination address regi ster (ddar) ......................................................................... 10-6 10-5 dma byte count register (dbcr) ....................................................................................... 10-6 11-1 ethernet block diagram ..................................................................................................... ... 11-2 11-2 fast ethernet module block diagram ................................................................................... 11-2 11-3 ethernet frame format...................................................................................................... ... 11-4 11-4 ethernet address recognition flowchart. ............................................................................. 11-7 11-5 ethernet control register (ecr)......................................................................................... 11- 11 11-6 interrupt event register (eir)............................................................................................. 11-12 11-7 interrupt mask register (eimr) ......................................................................................... 11- 13 11-8 interrupt vector status register (ivsr) .............................................................................. 11-14 11-9 receive descriptor active register (rdar) ....................................................................... 11-15 11-10 transmit descriptor active register (tdar) ...................................................................... 11-16 11-11 mii management frame register (mmfr) ......................................................................... 11-17 11-12 mii speed control register (mscr).................................................................................. 11-18 11-13 fifo receive bound register (frbr) .............................................................................. 11-19 11-14 fifo receive start register (frsr)................................................................................. 11-20 11-15 transmit fifo watermark (tfwr).................................................................................... 11-21 11-16 fifo transmit start register (tfsr) ................................................................................. 11-22 11-17 receive control register (rcr) ................................... ........................................... ........... 11- 23 11-18 maximum frame length register (mflr).......................................................................... 11-24 11-19 transmit control register (tcr) ........................................................................................ 11- 25 11-20 ram perfect match address low (malr).......................................................................... 11-26 11-21 ram perfect match address high (maur) ........................................................................ 11-27 11-22 hash table high (htur) ................................................................................................... 11-28 11-23 hash table low (htlr) .................................................................................................... 11-29 11-24 pointer-to-receive descriptor ring (erdsr)..................................................................... 11-30 11-25 pointer-to-transmit descriptor ring (etdsr) .................................................................... 11-31 11-26 receive buffer size (emrbr) ............................................................................................ 11- 32 11-27 receive buffer descriptor (rxbd) ...................................................................................... 11-3 5
MCF5272 coldfire ? integrated microprocessor user?s manual, rev. 3 viii freescale semiconductor list of figures (continued) figure page number title number 11-28 transmit buffer descriptor (txbd)..................................................................................... 11- 37 12-1 the usb ?tiered star? topology........................................................................................... 12 -2 12-2 usb module block diagram.................................................................................................. 1 2-3 12-3 usb frame number register (fnr) .................................................................................... 12-9 12-4 usb frame number match regi ster (fnmr)....................................................................... 12-9 12-5 usb real-time frame monitor register (rfmr)............................................................... 12-10 12-6 usb real-time frame monitor matc h register (rfmmr)................................................. 12-11 12-7 usb function addr ess register (far)............................................................................... 12-11 12-8 usb alternate settings register (asr) .............................................................................. 12-12 12-9 usb device request data 1 r egister (drr1) ................................................................... 12-13 12-10 usb device request data 2 register (drr2) ................................................................... 12-13 12-11 usb specification number regi ster (specr) ............. ........................................... ........... 12-14 12-12 usb endpoint 0 status register (ep0sr).......................................................................... 12-14 12-13 usb endpoint 0 in configuration register (iep0cfg) ...................................................... 12-15 12-14 usb endpoint 0 out configurat ion register ..................................................................... 12-16 12-15 usb endpoint 1?7 configuration register.......................................................................... 12-16 12-16 usb endpoint 0 control register (ep0ctl)....................................................................... 12-17 12-17 usb endpoint 1-7 control register (epnctl) ................................................................... 12-20 12-18 usb endpoint 0 interrupt mask (ep0imr) and general/endpoint 0 interrupt registers (ep0isr) ....................................................... 12-22 12-19 usb endpoints 1?7 interrupt status registers (epnisr)................................................... 12-25 12-20 usb endpoint 1-7 interrupt mask registers (epnimr) ...................................................... 12-26 12-21 usb endpoint 0-7 data registers (epndr) ....................................................................... 12-27 12-22 usb endpoint 0-7 data present registers (epndpr) ....................................................... 12-28 12-23 example usb configuration desc riptor structure .............................................................. 12-29 12-24 recommended usb line interface..................................................................................... 12-36 12-25 usb protection circuit .................................................................................................... .... 12-37 13-1 plic system diagram........................................................................................................ ... 13-2 13-2 gci/idl receive data flow .................................................................................................. 13-3 13-3 gci/idl b-channel receive data register demultiplexing.................................................. 13-4 13-4 gci/idl transmit data flow ................................................................................................. 13-4 13-5 gci/idl b data transmit register multiplexing.................................................................... 13-5 13-6 b-channel unencoded and hdlc encoded data ................................................................ 13-6 13-7 d-channel hdlc encoded and unencoded data. ............................................................... 13-7 13-8 d-channel contention ....................................................................................................... ... 13-8 13-9 gci/idl loopback mode ...................................................................................................... 13-9 13-10 periodic frame interrupt .................................................................................................. ... 13-10 13-11 plic internal timing signal routing ................................................................................... 13-1 2 13-12 plic clock generator ...................................................................................................... ... 13-12 13-13 b1 receive data registers p0b1rr?p3b1rr .................................................................. 13-15 13-14 b2 receive data registers p0b2rr ? p3b2rr ................................................................ 13-16 13-15 d receive data registers p0drr?p3drr ....................................................................... 13-16 13-16 b1 transmit data registers p0b1tr?p3b1tr.................................................................. 13-17 13-17 b2 transmit data registers p0b2tr?p3b2tr.................................................................. 13-17
MCF5272 coldfire ? integrated microprocessor user?s manual, rev. 3 freescale semiconductor ix list of figures (continued) figure page number title number 13-18 d transmit data registers p0dtr?p3dtr ....................................................................... 13-18 13-19 port configuration registers (p0cr?p3cr) ...................................................................... 13-18 13-20 loopback control register (plcr)..................................................................................... 13-20 13-21 interrupt configuration registers (p0icr?p3icr).............................................................. 13-20 13-22 periodic status registers (p0psr?p3psr)....................................................................... 13-22 13-23 aperiodic status register (pasr) ........... ........................................... ................................ 13-2 3 13-24 gci monitor channel receive regi sters (p0gmr?p3gmr) ............................................. 13-24 13-25 gci monitor channel transmit registers (p0gmt?p3gmt) ............................................. 13-25 13-26 gci monitor channel transmit abort register (pgmta) ................................................... 13-26 13-27 gci monitor channel transmit status register (pgmts).................................................. 13-27 13-28 gci c/i channel receive registers (p0gcir?p3gcir) ................................................... 13-28 13-29 gci c/i channel transmit registers (p0gcit?p3gcit) ................................................... 13-29 13-30 gci c/i channel transmit status register (pgcitsr)...................................................... 13-30 13-31 d-channel status register (pdcsr) ................................................................................. 13-31 13-32 d-channel request registers (pdrqr) ............................................................................ 13-32 13-33 sync delay registers (p0sdr?p3sdr) ............................................................................ 13-33 13-34 clock select register (pcsr) ............................................................................................ 13 -34 13-35 port 1 configuration register (p1cr)................................................................................. 13-36 13-36 port 1 interrupt configuration register (p1icr) ................................................................. 13-37 13-37 isdn soho pabx example .............................................................................................. 13-38 13-38 standard idl2 10-bit mode ................................................................................................ 1 3-39 13-39 isdn soho pabx example .............................................................................................. 13-40 13-40 standard idl2 10-bit mode ................................................................................................ 1 3-41 13-41 two-line remote access ................................................................................................... 1 3-41 13-42 standard idl2 8-bit mode .................................................................................................. 13-42 14-1 qspi block diagram ......................................................................................................... .... 14-2 14-2 qspi ram model............................................................................................................. ..... 14-5 14-3 qspi mode register (qmr) ................................................................................................. 14 -9 14-4 qspi clocking and data transfer example........................................................................ 14-10 14-5 spi modes timing........................................................................................................... .... 14-11 14-6 qspi delay register (qdl yr) ........................................................................................... 14-11 14-7 qspi wrap register (qwr) ............................................................................................... 14-1 2 14-8 qspi interrupt register (qir) ............................................................................................. 1 4-13 14-9 qspi address register ...................................................................................................... . 14-14 14-10 qspi data register ........................................................................................................ .... 14-14 14-11 command ram registers (qcr0?qcr15) ....................................................................... 14-15 15-1 timer block diagram........................................................................................................ ..... 15-2 15-2 timer mode registers (tmr0?tmr3).................................................................................. 15-3 15-3 timer reference registers (t rr0?trr3) ........................................................................... 15-4 15-4 timer capture registers (tc ap0?tcap3) .......................................................................... 15-4 15-5 timer counter (tcn0?tcn3) ............................................................................................... 15- 4 15-6 timer event registers (ter 0?ter3)................................................................................... 15-5 16-1 simplified block diag ram ................................................................................................... ... 16-1 16-2 uart mode registers 1 (umr1n)........................................................................................ 16-4
MCF5272 coldfire ? integrated microprocessor user?s manual, rev. 3 x freescale semiconductor list of figures (continued) figure page number title number 16-3 uart mode register 2 (umr2n) ......................................................................................... 16-6 16-4 uart status registers (usrn) ............................................................................................ 16- 7 16-5 uart clock-select register s (ucsrn) ............................................................................... 16-8 16-6 uart command registers (ucrn) ..................................................................................... 16-9 16-7 uart receiver buffer (urbn)............................................................................................ 16-1 0 16-8 uart transmitter buffers (utbn) ...................................................................................... 16-11 16-9 uart input port change registers (uipcrn) ................................................................... 16-11 16-10 uart auxiliary c ontrol registers (uacrn) ....................................................................... 16-12 16-11 uart interrupt status/mask regi sters (uisrn/uimrn)..................................................... 16-13 16-12 uart divider upper registers (udun) .............................................................................. 16-14 16-13 uart divider lower register s (udln)............................................................................... 16-14 16-14 uart autobaud upper registers (uabun)........................................................................ 16-14 16-15 uart autobaud lower registers (uabln) ........................................................................ 16-14 16-16 uart transmitter fifo regist ers (utfn) ......................................................................... 16-15 16-17 uart receiver fifo registers (urfn) ............................................................................. 16-16 16-18 uart fractional precis ion divider control regist ers (ufpdn).......................................... 16-17 16-19 uart input port registers (uipn) ...................................................................................... 16-1 7 16-20 uart output port command regi sters (uop1/uop0) ..................................................... 16-18 16-21 uart block diagram showing external and internal interface signals ............................. 16-18 16-22 uart/rs-232 interface ..................................................................................................... . 16-19 16-23 clocking source diagram ................................................................................................... 16-20 16-24 transmitter and receiver functi onal diagram.................................................................... 16-22 16-25 transmitter timing ........................................................................................................ ...... 16-23 16-26 receiver timing ........................................................................................................... ....... 16-24 16-27 automatic echo ............................................................................................................ ....... 16-27 16-28 local loop-back ........................................................................................................... ...... 16-27 16-29 remote loop-back .......................................................................................................... ... 16-28 16-30 multidrop mode timing diagram ......................................................................................... 16-2 9 16-31 uart mode programming flowchart (sheet 1 of 5) .......................................................... 16-30 17-1 port a control register (pacnt).......................................................................................... 17 -3 17-2 port b control register (pbcnt).......................................................................................... 17 -5 17-3 port d control register (pdcnt) ......................................................................................... 17- 8 17-4 port a data direction register (paddr) ............................................................................ 17-10 17-5 port b data direction register (pbddr) ............................................................................ 17-10 17-6 port c data direction regist er (pcddr)...................... ........................................... ........... 17-11 17-7 port x data register (padat, pbdat, and pcdat) ......................................................... 17-11 18-1 pwm block diagram (3 identical modules)........................................................................... 18-1 18-2 pwm control registers (pwcrn) ........................................................................................ 18-3 18-3 pwm width register (pwwdn)............................................................................................ 18-4 18-4 pwm waveform exampl es (pwcrn[en] = 1)...................................................................... 18-4 19-1 MCF5272 block diagram with signal interfaces................................................................... 19-2 20-1 internal operand representation.......................................................................................... 20 -5 20-2 MCF5272 interface to various port sizes............................................................................. 20-5 20-3 longword read; ebi = 00; 32-bit por t; internal termination................................................ 20-8
MCF5272 coldfire ? integrated microprocessor user?s manual, rev. 3 freescale semiconductor xi list of figures (continued) figure page number title number 20-4 word write; ebi = 00; 16-/32-bit por t; internal termination ................................................. 20-9 20-5 longword read with address setup; ebi = 00 ; 32-bit port; internal termination................ 20-9 20-6 longword write with address setup; ebi = 00; 32-bit port; internal termination .............. 20-10 20-7 longword read with address hold; ebi = 00; 32-bit port; internal termination................ 20-10 20-8 longword write with address hold; ebi = 00; 32-bit port; internal termination ................ 20-11 20-9 longword read; ebi = 00; 32-bit port; term inated by ta with one wait state ................ 20-11 20-10 longword read; ebi=11; 32-bit por t; internal termination................................................ 20-12 20-11 word write; ebi=11; 16/32-bit por t; internal termination .................................................. 20-13 20-12 read with addre ss setup; ebi=11; 32-bit port; in ternal termination................................. 20-14 20-13 longword write with address setup; ebi=11; 32-bit port; internal termination ................ 20-14 20-14 read with addre ss hold; ebi=11; 32-bit port; inte rnal termination................................... 20-15 20-15 longword write with addres s hold; ebi=11; 32-bit port; in ternal termination .................. 20-15 20-16 longword read with address setup and address hold; ebi = 11; 32-bit port, internal termination ......................................................................... 20-16 20-17 longword write with address setup and address hold; ebi = 11; 32-bit port, internal termination ......................................................................... 20-17 20-18 example of a misaligned longword transfer...................................................................... 20-18 20-19 example of a misaligned word transfer ............................................................................. 20-18 20-20 longword write access to 32-bit port terminated with tea timing................................. 20-20 20-21 master reset timing ....................................................................................................... .... 20-22 20-22 normal reset timing ....................................................................................................... ... 20-23 20-23 software watchdog timer reset timing ............................................................................ 20-24 20-24 soft reset timing ......................................................................................................... ...... 20-25 21-1 test access port block diagram........................................................................................... 21 -2 21-2 tap controller state machine............................................................................................... 21-3 21-3 output cell (o.cell) (bc?1) ................................................................................................ .. 21-4 21-4 input cell (i.cell). observe only (bc?4)................................................................................ 21- 5 21-5 output control cell (en.cell) (bc?4) .................................................................................... 21- 5 21-6 bidirectional cell (io.ce ll) (bc?6)........................................................................................ .21-6 21-7 general arrangement for bidirectional pins.......................................................................... 21-6 21-8 bypass register ............................................................................................................ ........ 21-8 22-1 MCF5272 pinout (196 mapbga) ......................................................................................... 22-1 22-2 196 mapbga package dimensions (case no. 1128a-01) .................................................. 22-2 23-1 clock input timing diagram................................................................................................. .23-5 23-2 general input timing requirements ..................................................................................... 23-7 23-3 read/write sram bus ti ming.............................................................................................. 23- 9 23-4 sram bus cycle terminated by ta ................................................................................... 23-10 23-5 sram bus cycle terminated by tea................................................................................. 23-11 23-6 reset and mode select/hiz conf iguration timing.............................................................. 23-12 23-7 real-time trace ac timing................................................................................................ 23 -13 23-8 bdm serial port ac timing................................................................................................. 2 3-13 23-9 sdram signal timing ........................................................................................................ 23-15 23-10 sdram self-refresh cycle timing .................................................................................... 23-16 23-11 mii receive signal timing diagram.................................................................................... 23-17
MCF5272 coldfire ? integrated microprocessor user?s manual, rev. 3 xii freescale semiconductor list of figures (continued) figure page number title number 23-12 mii transmit signal timing diagram................................................................................... 23-18 23-13 mii async inputs timing diagram ....................................................................................... 23-1 9 23-14 mii serial management channel timing diagram .............................................................. 23-20 23-15 timer timing .............................................................................................................. ......... 23-21 23-16 uart timing............................................................................................................... ........ 23-22 23-17 idl master timing......................................................................................................... ...... 23-23 23-18 idl slave timing.......................................................................................................... ....... 23-25 23-19 gci slave mode timing ..................................................................................................... . 23-26 23-20 gci master mode timing .................................................................................................... 23-27 23-21 general-purpose i/o port timing........................................................................................ 23- 28 23-22 usb interface timing ...................................................................................................... .... 23-29 23-23 ieee 1149.1 (jtag) ti ming.......................................... ................................ ...................... 2 3-30 23-24 qspi timing............................................................................................................... ......... 23-31 23-25 pwm timing................................................................................................................ ........ 23-32 b-1 buffering and termination................................................................................................... ....b-2
MCF5272 coldfire ? integrated microprocessor user?s manual, rev. 3 freescale semiconductor xiii table of contents paragraph page number title number chapter 1 overview 1.1 MCF5272 key feat ures ....................................................................................................... .......... 1-1 1.2 MCF5272 archit ecture ....................................................................................................... ........... 1-4 1.2.1 version 2 coldfire core .................................................................................................. ... 1-4 1.2.2 system integration module (sim) ...................................................................................... 1-5 1.2.2.1 external bus interface .......................................................................................... 1-5 1.2.2.2 chip select and wait state generation ................................................................. 1-5 1.2.2.3 system configuration and protection ................................................................... 1-5 1.2.2.4 power manageme nt .............................................................................................. 1-6 1.2.2.5 parallel input/out put ports ................................................................................... 1-6 1.2.2.6 interrupt i nputs ..................................................................................................... 1- 6 1.2.3 uart modul e .............................................................................................................. ...... 1-6 1.2.4 timer modul e ............................................................................................................. ........ 1-7 1.2.5 test access port ......................................................................................................... ........ 1-7 1.3 system design ............................................................................................................. ................. 1-7 1.3.1 system bus conf iguration ................................................................................................. .1-7 1.4 MCF5272-specific f eatures .................................................................................................. ........ 1-7 1.4.1 physical layer interface c ontroller (pli c) ....................................................................... 1-7 1.4.2 pulse-width modulation (pwm) unit ............................................................................... 1-8 1.4.3 queued serial peripheral interface (qspi) ........................................................................ 1-8 1.4.4 universal serial bus (usb) module .................................................................................. 1-8 chapter 2 coldfire core 2.1 features and enha ncements .................................................................................................. ......... 2-1 2.1.1 decoupled pipe lines ...................................................................................................... ..... 2-1 2.1.1.1 instruction fetch pipe line (ifp) ............................................................................ 2-2 2.1.1.2 operand execution pipe line (oep) ...................................................................... 2-2 2.1.1.2.1 illegal opcode handling .............................................................................. 2-3 2.1.1.2.2 hardware multiply/accu mulate (mac) unit.............................................. 2-3 2.1.1.2.3 hardware divi de unit.................................................................................. 2-4 2.1.2 debug module enhan cements ............................................................................................ 2-4 2.2 programming model .......................................................................................................... ............ 2-4 2.2.1 user programmi ng model .................................................................................................. 2 -4 2.2.1.1 data registers (d0?d7) ....................................................................................... 2-5
MCF5272 coldfire ? integrated microprocessor user?s manual, rev. 3 xiv freescale semiconductor table of contents (continued) paragraph page number title number 2.2.1.2 address registers (a0?a6) .................................................................................. 2-5 2.2.1.3 stack pointer (a7, sp) .......................................................................................... 2-5 2.2.1.4 program counter (pc) .......................................................................................... 2-6 2.2.1.5 condition code regist er (ccr) ........................................................................... 2-6 2.2.1.6 mac programming model ................................................................................... 2-7 2.2.2 supervisor program ming model ........................................................................................ 2-7 2.2.2.1 status register (sr) .............................................................................................. 2-8 2.2.2.2 vector base register (vbr) ................................................................................. 2-8 2.2.2.3 cache control regist er (cacr) .......................................................................... 2-9 2.2.2.4 access control register s (acr0?acr1) ............................................................ 2-9 2.2.2.5 rom base address regist er (rombar) ........................................................... 2-9 2.2.2.6 ram base address regist er (rambar) ........................................................... 2-9 2.2.2.7 module base address regi ster (mbar) ............................................................. 2-9 2.3 integer data formats ....................................................................................................... .............. 2-9 2.4 organization of data in registers .......................................................................................... ...... 2-10 2.4.1 organization of integer data formats in registers .......................................................... 2-10 2.4.2 organization of integer data formats in memory ........................................................... 2-11 2.5 addressing mode summary .................................................................................................... .... 2-12 2.6 instruction set summary .................................................................................................... ......... 2-13 2.6.1 instruction set summary .................................................................................................. 2-15 2.7 instruction timing ......................................................................................................... ............... 2-19 2.7.1 move instruction ex ecution times ................................................................................ 2-20 2.7.2 execution timings?one-opera nd instructions .............................................................. 2-22 2.7.3 execution timings?two-opera nd instructions .............................................................. 2-22 2.7.4 miscellaneous instruction execution times ..................................................................... 2-24 2.7.5 branch instruction ex ecution times ................................................................................ 2-25 2.8 exception processi ng overview .............................................................................................. .... 2-25 2.8.1 exception stack fram e definition ................................................................................... 2-27 2.8.2 processor exce ptions ..................................................................................................... ... 2-28 chapter 3 hardware multiply/accumulate (mac) unit 3.1 overview ................................................................................................................... ..................... 3-1 3.1.1 mac programming model ................................................................................................. 3-2 3.1.2 general oper ation ........................................................................................................ ...... 3-3 3.1.3 mac instruction set summary .......................................................................................... 3-4 3.1.4 data represen tation ...................................................................................................... ...... 3-4 3.2 mac instruction execution timings .......................................................................................... ... 3-4
MCF5272 coldfire ? integrated microprocessor user?s manual, rev. 3 freescale semiconductor xv table of contents (continued) paragraph page number title number chapter 4 local memory 4.1 interactions between local memory modules .............................................................................. 4-1 4.2 local memory registers ..................................................................................................... ........... 4-2 4.3 sram overview .............................................................................................................. ............. 4-2 4.3.1 sram operation ........................................................................................................... ..... 4-2 4.3.2 sram programming model .............................................................................................. 4-2 4.3.2.1 sram base address regi ster (rambar) ......................................................... 4-3 4.3.2.2 sram initializat ion ............................................................................................. 4-4 4.3.2.3 programming rambar for power management ............................................... 4-4 4.4 rom overview ............................................................................................................... ............... 4-5 4.4.1 rom operat ion ............................................................................................................ ...... 4-5 4.4.2 rom programming model ................................................................................................. 4-5 4.4.2.1 rom base address regist er (rombar) ........................................................... 4-5 4.4.2.2 programming rombar for power management ............................................... 4-6 4.5 instruction cache overview ................................................................................................. ......... 4-7 4.5.1 instruction cache physic al organization ........................................................................... 4-7 4.5.2 instruction cache operation .............................................................................................. .4-8 4.5.2.1 interaction with ot her modules ............................................................................ 4-8 4.5.2.2 cache coherency and invalidation ....................................................................... 4-8 4.5.2.3 caching mode s ..................................................................................................... 4-9 4.5.2.3.1 cacheable accesses ..................................................................................... 4-9 4.5.2.3.2 cache-inhibited accesses ............................................................................ 4-9 4.5.2.4 reset .................................................................................................................. .4-10 4.5.2.5 cache miss fetch algorit hm/line fills ............................................................. 4-10 4.5.3 instruction cache progr amming model ........................................................................... 4-12 4.5.3.1 cache control regist er (cacr) ........................................................................ 4-12 4.5.3.2 access control registers (acr0 and acr1) .................................................... 4-14 chapter 5 debug support 5.1 overview ................................................................................................................... ..................... 5-1 5.2 signal description ......................................................................................................... ................. 5-2 5.3 real-time trace support .................................................................................................... ........... 5-3 5.3.1 begin execution of taken branch (pst = 0x5) ................................................................. 5-4 5.4 programming model .......................................................................................................... ............ 5-5 5.4.1 revision a shared de bug resources ................................................................................. 5-7 5.4.2 address attribute trigger register (aat r) ...................................................................... 5-7 5.4.3 address breakpoint register s (ablr, abhr) ................................................................. 5-9 5.4.4 configuration/status re gister (csr ) ............................................................................... 5-10
MCF5272 coldfire ? integrated microprocessor user?s manual, rev. 3 xvi freescale semiconductor table of contents (continued) paragraph page number title number 5.4.5 data breakpoint/mask regist ers (dbr, dbmr ) ............................................................ 5-12 5.4.6 program counter brea kpoint/mask registers (pbr, pbmr) ................................................................................................................... ......... 5-13 5.4.7 trigger definition regi ster (tdr) ................................................................................... 5-14 5.5 background debug mode (bdm) ............................................................................................... 5 -15 5.5.1 cpu halt ................................................................................................................. ......... 5-16 5.5.2 bdm serial in terface ..................................................................................................... .. 5-17 5.5.2.1 receive packet format ....................................................................................... 5-18 5.5.2.2 transmit packet format ...................................................................................... 5-18 5.5.3 bdm command set ......................................................................................................... 5 -19 5.5.3.1 coldfire bdm command format ...................................................................... 5-20 5.5.3.1.1 extension words as required .................................................................... 5-20 5.5.3.2 command sequence di agrams ........................................................................... 5-21 5.5.3.3 command set descri ptions ................................................................................ 5-22 5.5.3.3.1 read a/d register ( rareg / rdreg )........................................................... 5-22 5.5.3.3.2 write a/d register ( wareg / wdreg ) ........................................................ 5-23 5.5.3.3.3 read memory location ( read ) ................................................................. 5-24 5.5.3.3.4 write memory location ( write )............................................................... 5-25 5.5.3.3.5 dump memory block ( dump ) ................................................................... 5-27 5.5.3.3.6 fill memory block ( fill ) .......................................................................... 5-28 5.5.3.3.7 resume execution ( go ) ............................................................................. 5-29 5.5.3.3.8 no operation ( nop ).................................................................................... 5-30 5.5.3.3.9 read control register ( rcreg ).................................................................. 5-30 5.5.3.3.10 write control register ( wcreg ).............................................................. 5-31 5.5.3.3.11 read debug module register ( rdmreg )................................................. 5-32 5.5.3.3.12 write debug module register ( wdmreg )............................................... 5-33 5.6 real-time debu g support .................................................................................................... ....... 5-33 5.6.1 theory of op eration ...................................................................................................... .... 5-34 5.6.1.1 emulator mode ................................................................................................... 5-35 5.6.2 concurrent bdm and pro cessor operation ...................................................................... 5-35 5.7 processor status, dda ta definition ......................................................................................... .. 5-36 5.7.1 user instruction set ..................................................................................................... ..... 5-36 5.7.2 supervisor instru ction set ............................................................................................... .5-40 5.8 freescale-recommended bdm pinout ....................................................................................... 5-41 chapter 6 system integration module (sim) 6.1 features ................................................................................................................... ....................... 6-1 6.2 programming model .......................................................................................................... ............ 6-2 6.2.1 sim register memo ry map ................................................................................................ 6- 2 6.2.2 module base address regi ster (mbar) ........................................................................... 6-3
MCF5272 coldfire ? integrated microprocessor user?s manual, rev. 3 freescale semiconductor xvii table of contents (continued) paragraph page number title number 6.2.3 system configuration re gister (scr) ............................................................................... 6-5 6.2.4 system protection regi ster (spr) ...................................................................................... 6-6 6.2.5 power management regi ster (pmr) .................................................................................. 6-7 6.2.6 activate low-power regi ster (alpr) ............................................................................ 6-10 6.2.7 device identification re gister (dir) ............................................................................... 6-11 6.2.8 software watchdog timer ................................................................................................ 6- 11 6.2.8.1 watchdog reset reference re gister (wrrr) ................................................... 6-12 6.2.8.2 watchdog interrupt reference register (wirr) ................................................ 6-12 6.2.8.3 watchdog counter register (wcr) ................................................................... 6-13 6.2.8.4 watchdog event regist er (wer) ....................................................................... 6-13 chapter 7 interrupt controller 7.1 overview ................................................................................................................... ..................... 7-1 7.2 interrupt controller registers ............................................................................................. ........... 7-2 7.2.1 interrupt controller registers ........................................................................................... .. 7-3 7.2.2 interrupt control regist ers (icr1?icr4) .......................................................................... 7-4 7.2.2.1 interrupt control regist er 1 (icr1) ..................................................................... 7-4 7.2.2.2 interrupt control regist er 2 (icr2) ..................................................................... 7-5 7.2.2.3 interrupt control regist er 3 (icr3) ..................................................................... 7-5 7.2.2.4 interrupt control regist er 4 (icr4) ..................................................................... 7-5 7.2.3 interrupt source re gister (isr) .......................................................................................... 7-6 7.2.4 programmable interrupt transiti on register (pitr) .......................................................... 7-7 7.2.5 programmable interrupt wakeup register (piwr) ............................................................ 7-8 7.2.6 programmable interrupt vector register (pivr) ............................................................... 7-9 chapter 8 chip select module 8.1 overview ................................................................................................................... ..................... 8-1 8.1.1 features ................................................................................................................. .............. 8-1 8.1.2 chip select usage ........................................................................................................ ....... 8-1 8.1.3 boot cs0 oper ation ....................................................................................................... .... 8-2 8.2 chip select registers ...................................................................................................... ............... 8-2 8.2.1 chip select base regist ers (csbr0?csbr7) ................................................................... 8-3 8.2.2 chip select option regist ers (csor0?cso r7) ............................................................... 8-5
MCF5272 coldfire ? integrated microprocessor user?s manual, rev. 3 xviii freescale semiconductor table of contents (continued) paragraph page number title number chapter 9 sdram controller 9.1 overview ................................................................................................................... ..................... 9-1 9.2 sdram controller signals ................................................................................................... ........ 9-1 9.3 interface to sdra m devices ................................................................................................. ....... 9-4 9.4 sdram banks, page hits, and page misses ................................................................................ 9-6 9.5 sdram registers ............................................................................................................ ............. 9-6 9.5.1 sdram configuration regi ster (sdcr) .......................................................................... 9-6 9.5.2 sdram timing register (sdtr) ..................................................................................... 9-8 9.6 auto initia lization ........................................................................................................ .................. 9-9 9.7 power-down and se lf-refresh ................................................................................................ ...... 9-9 9.8 performance ................................................................................................................ ................. 9-10 9.9 solving timing issues with sdcr[inv] .................................................................................... 9-1 2 9.10 sdram interface ........................................................................................................... ........... 9-14 9.10.1 sdram read accesses ................................................................................................. 9-15 9.10.2 sdram write acce sses .............................................. .................................................. 9-18 9.10.3 sdram refresh ti ming ................................................................................................ 9-20 chapter 10 dma controller 10.1 dma data transfer types ................................................................................................... ...... 10-1 10.2 dma address modes ......................................................................................................... ....... 10-2 10.3 dma controller registers .................................................................................................. ....... 10-2 10.3.1 dma mode register (dmr) ......................................................................................... 10-2 10.3.2 dma interrupt regist er (dir) ....................................................................................... 10-4 10.3.3 dma source address regi ster (dsar) ........................................................................ 10-5 10.3.4 dma destination address register (ddar) ................................................................ 10-6 10.3.5 dma byte count regist er (dbcr) ............................................................................... 10-6 chapter 11 ethernet module 11.1 overview .................................................................................................................. .................. 11-1 11.1.1 features ................................................................................................................ ........... 11-1 11.2 module operation .......................................................................................................... ............ 11-1 11.3 transceiver c onnection .................................................................................................... ......... 11-3 11.4 fec frame tran smission .................................................................................................... ....... 11-4 11.4.1 fec frame re ception .................................................................................................... 1 1-5 11.4.2 cam interface ........................................................................................................... ..... 11-6 11.4.3 ethernet address recognition ........................................................................................ 11-6 11.4.4 hash table al gorithm .................................................................................................... . 11-8
MCF5272 coldfire ? integrated microprocessor user?s manual, rev. 3 freescale semiconductor xix table of contents (continued) paragraph page number title number 11.4.5 interpacket gap time .................................................................................................... . 11-8 11.4.6 collision ha ndling ...................................................................................................... .... 11-8 11.4.7 internal and external loopback ..................................................................................... 11-8 11.4.8 ethernet error-handl ing procedure ................................................................................ 11-9 11.4.8.1 transmission errors .......................................................................................... 11-9 11.4.8.2 reception errors ............................................................................................... 11-9 11.5 programming model ......................................................................................................... ....... 11-10 11.5.1 ethernet control regi ster (ecr) ...................................................................................11-11 11.5.2 interrupt event register (eir) ..................................................................................... 11-12 11.5.3 interrupt mask register (eimr) .................................................................................. 11-13 11.5.4 interrupt vector status register (ivsr) ....................................................................... 11-14 11.5.5 receive descriptor active register (rdar) ............................................................... 11-15 11.5.6 transmit descriptor active register (tdar) ............................................................. 11-16 11.5.7 mii management frame re gister (mmfr) ................................................................. 11-17 11.5.8 mii speed control regi ster (mscr) ........................................................................... 11-18 11.5.9 fifo receive bound regi ster (frbr) ........................................................................ 11-19 11.5.10 fifo receive start register (frsr) ......................................................................... 11-20 11.5.11 transmit fifo watermark (tfwr) ........................................................................... 11-21 11.5.12 fifo transmit start register (tfsr) ........................................................................ 11-22 11.5.13 receive control register (rcr) ................................................................................ 11-23 11.5.14 maximum frame length re gister (mflr) ............................................................... 11-24 11.5.15 transmit control register (tcr) ............................................................................... 11-25 11.5.16 ram perfect match addres s low (malr) .............................................................. 11-26 11.5.16.1 ram perfect match address high (maur) ............................................... 11-27 11.5.17 hash table high (htur) ........................................................................................... 11-28 11.5.18 hash table low (htlr) ............................................................................................ 11-29 11.5.19 pointer-to-receive descriptor ring (erdsr) ........................................................... 11-30 11.5.20 pointer-to-transmit descri ptor ring (etdsr) .......................................................... 11-31 11.5.21 receive buffer size register (emrbr) .................................................................... 11-32 11.5.22 initialization sequence ............................................................................................... 1 1-33 11.5.22.1 hardware initialization ................................................................................. 11-33 11.5.23 user initialization (prior to asserting ether_en) .................................................. 11-33 11.5.24 fec initiali zation ..................................................................................................... .. 11-34 11.5.24.1 user initializat ion (after setting ether_en) .............................................. 11-34 11.6 buffer descriptors ........................................................................................................ ............ 11-34 11.6.1 fec buffer descript or tables ...................................................................................... 11-35 11.6.1.1 ethernet receive buffer de scriptor (rxbd) .................................................. 11-35 11.6.1.2 ethernet transmit buff er descriptor .............................................................. 11-37 11.7 differences between MCF5272 fec and mpc860t fec ...................................................... 11-39
MCF5272 coldfire ? integrated microprocessor user?s manual, rev. 3 xx freescale semiconductor table of contents (continued) paragraph page number title number chapter 12 universal serial bus (usb) 12.1 introduction .............................................................................................................. .................. 12-1 12.2 module operation .......................................................................................................... ............ 12-2 12.2.1 usb module archit ecture .............................................................................................. 12- 2 12.2.1.1 usb transceiver in terface ................................................................................ 12-3 12.2.1.2 clock generator ................................................................................................ 12-4 12.2.1.3 usb control l ogic ........................................................................................... 12-4 12.2.1.4 endpoint contro llers ......................................................................................... 12-5 12.2.1.5 usb request proc essor .................................................................................... 12-5 12.3 register description and programming model ......................................................................... 12-7 12.3.1 usb memory map ......................................................................................................... 1 2-7 12.3.2 register descri ptions ................................................................................................... ... 12-9 12.3.2.1 usb frame number register (fnr) ............................................................... 12-9 12.3.2.2 usb frame number match register (fnmr) ................................................. 12-9 12.3.2.3 usb real-time frame monito r register (rfmr) ........................................ 12-10 12.3.2.4 usb real-time frame monitor ma tch register (rfmmr) ......................... 12-11 12.3.2.5 usb function address re gister (far) .......................................................... 12-11 12.3.2.6 usb alternate settings register (asr ) ......................................................... 12-12 12.3.2.7 usb device request data 1 and 2 registers (drr1/ 2) ............................... 12-13 12.3.2.8 usb specification number register (specr) .............................................. 12-14 12.3.2.9 usb endpoint 0 status re gister (ep0sr) ...................................................... 12-14 12.3.2.10 usb endpoint 0 in configura tion register (iep0cfg) ............................. 12-15 12.3.2.11 usb endpoint 0 out configurat ion register (oep0cfg) ........................ 12-16 12.3.2.12 usb endpoint 1?7 configurati on register (epncfg) ................................ 12-16 12.3.2.13 usb endpoint 0 control re gister (ep0ctl) .............................................. 12-17 12.3.2.14 usb endpoint 1?7 control re gister (epnctl) .......................................... 12-20 12.3.2.15 usb endpoint 0 interrupt mask (ep0im r) and general/end point 0 interrupt registers (ep0is r) .......................................................................................................... 12 -22 12.3.2.16 usb endpoints 1?7 status / interr upt registers (epnisr) .......................... 12-25 12.3.2.17 usb endpoint 1?7 interrupt mask registers (epnimr) ............................. 12-26 12.3.2.18 usb endpoint 0?7 data re gisters (epndr) ................................................ 12-27 12.3.2.19 usb endpoint 0?7 data presen t registers (epndpr) ................................. 12-28 12.3.3 configuration ram ...................................................................................................... 1 2-28 12.3.3.1 configuration ram content .......................................................................... 12-28 12.3.3.2 usb device configurat ion example .............................................................. 12-29 12.3.4 usb module access times .......................................................................................... 12-30 12.3.4.1 registers ......................................................................................................... 12-3 0 12.3.4.2 endpoint fifo s .............................................................................................. 12-30 12.3.4.3 configuration ram ........................................................................................ 12-30
MCF5272 coldfire ? integrated microprocessor user?s manual, rev. 3 freescale semiconductor xxi table of contents (continued) paragraph page number title number 12.4 software architecture and application no tes ......................................................................... 12-31 12.4.1 usb module initiali zation ........................................................................................... 12-3 1 12.4.2 usb configuration and interface changes .................................................................. 12-31 12.4.3 fifo configur ation ...................................................................................................... 12-32 12.4.4 data flow ............................................................................................................... ...... 12-32 12.4.4.1 control, bulk, and inte rrupt endpoints .......................................................... 12-33 12.4.4.1.1 in endpoint s .......................................................................................... 12-33 12.4.4.1.2 out endpoint s ...................................................................................... 12-33 12.4.4.2 isochronous endp oints .................................................................................... 12-33 12.4.4.2.1 in endpoint s .......................................................................................... 12-34 12.4.4.2.2 out endpoint s ...................................................................................... 12-34 12.4.5 class- and vendor-specific request operat ion ............................................................ 12-34 12.4.6 remote wakeup and resume operation ......................................................................... 12-35 12.4.7 endpoint halt feature ................................................................................................... 12-35 12.5 line interface ............................................................................................................ ............... 12-36 12.5.1 attachment dete ction ................................................................................................... 1 2-36 12.5.2 pcb layout recommendations ................................................................................... 12-36 12.5.3 recommended usb protec tion circuit ........................................................................ 12-37 chapter 13 physical layer interface controller (plic) 13.1 introduction .............................................................................................................. .................. 13-1 13.2 gci/idl block ............................................................................................................. ............. 13-3 13.2.1 gci/idl b- and d-channel rece ive data registers ..................................................... 13-3 13.2.2 gci/idl b- and d-channel tran smit data registers ................................................... 13-4 13.2.3 gci/idl b- and d-channe l bit alignment ................................................................... 13-5 13.2.3.1 b-channel unencode d data ............................................................................. 13-5 13.2.3.2 b-channel hdlc enc oded data ...................................................................... 13-6 13.2.3.3 d-channel hdlc enc oded data ..................................................................... 13-6 13.2.3.4 d-channel unencode d data ............................................................................. 13-7 13.2.3.5 gci/idl d-channel contention ..................................................................... 13-8 13.2.4 gci/idl looping m odes ............................................................................................... 13-8 13.2.4.1 automatic echo mode ...................................................................................... 13-9 13.2.4.2 local loopback mode ...................................................................................... 13-9 13.2.4.3 remote loopback mode ................................................................................... 13-9 13.2.5 gci/idl inte rrupts ...................................................................................................... ... 13-9 13.2.5.1 gci/idl periodic fram e interrupt ................................................................... 13-9 13.2.5.2 gci aperiodic status interrupt ...................................................................... 13-10 13.2.5.3 interrupt control ............................................................................................. 13-11 13.3 plic timing ge nerator ..................................................................................................... ...... 13-11
MCF5272 coldfire ? integrated microprocessor user?s manual, rev. 3 xxii freescale semiconductor table of contents (continued) paragraph page number title number 13.3.1 clock synthe sis ......................................................................................................... ... 13-11 13.3.2 super frame sync generation ...................................................................................... 13-13 13.3.3 frame sync synt hesis ................................................................................................... 1 3-13 13.4 plic register me mory map .................................................................................................. . 13-13 13.5 plic registers ............................................................................................................ ............. 13-15 13.5.1 b1 data receive registers (p0b1rr?p3b1rr) ......................................................... 13-15 13.5.2 b2 data receive registers (p0b2rr?p3b2rr) ......................................................... 13-16 13.5.3 d data receive registers (p0drr?p3drr) .............................................................. 13-16 13.5.4 b1 data transmit register s (p0b1tr?p3b1tr) ......................................................... 13-17 13.5.5 b2 data transmit register s (p0b2tr?p3b2tr) ........................................................ 13-17 13.5.6 d data transmit register s (p0dtr?p3dtr) ............................................................. 13-18 13.5.7 port configuration regist ers (p0cr?p3cr) ............................................................... 13-18 13.5.8 loopback control regi ster (plcr) ............................................................................. 13-20 13.5.9 interrupt configuration regi sters (p0icr?p3icr) ..................................................... 13-20 13.5.10 periodic status register s (p0psr?p3psr) ................................................................ 13-22 13.5.11 aperiodic status regi ster (pasr) .............................................................................. 13-23 13.5.12 gci monitor channel receive registers (p0gmr?p3gmr) ................................... 13-24 13.5.13 gci monitor channel transmit registers (p0gmt?p3gmt) .................................. 13-25 13.5.14 gci monitor channel transmit abort register (pgmta) ....................................... 13-26 13.5.15 gci monitor channel transmit st atus register (pgmts) ....................................... 13-27 13.5.16 gci c/i channel receive regi sters (p0gcir?p3gcir) .......................................... 13-28 13.5.17 gci c/i channel transmit regi sters (p0gcit?p3g cit) ......................................... 13-29 13.5.18 gci c/i channel transmit stat us register (pgcitsr) ............................................ 13-30 13.5.19 d-channel status regi ster (pdcsr) ......................................................................... 13-31 13.5.20 d-channel request regi ster (pdrqr) ..................................................................... 13-32 13.5.21 sync delay registers (p0sdr?p3sdr) .................................................................... 13-33 13.5.22 clock select regist er (pcsr) .................................................................................... 13-34 13.6 application ex amples ...................................................................................................... ........ 13-35 13.6.1 introduction ............................................................................................................ ...... 13-35 13.6.2 plic initiali zation ..................................................................................................... ... 13-35 13.6.2.1 port configurati on example ........................................................................... 13-35 13.6.2.2 interrupt configura tion example .................................................................... 13-37 13.6.3 example 1: isdn soho pbx wi th ports 0, 1, 2, and 3 .............................................. 13-38 13.6.4 example 2: isdn soho pbx wi th ports 1, 2, and 3 .................................................. 13-40 13.6.5 example 3: two-line remote a ccess with ports 0 and 1 ........................................... 13-41
MCF5272 coldfire ? integrated microprocessor user?s manual, rev. 3 freescale semiconductor xxiii table of contents (continued) paragraph page number title number chapter 14 queued serial peripheral interface (qspi) module 14.1 overview .................................................................................................................. .................. 14-1 14.2 features .................................................................................................................. .................... 14-1 14.3 module descri ption ........................................................................................................ ........... 14-1 14.3.1 interface and pins ...................................................................................................... ..... 14-3 14.3.2 internal bus in terface .................................................................................................. ... 14-3 14.4 operati on ................................................................................................................. .................. 14-3 14.4.1 qspi ram ................................................................................................................ ..... 14-4 14.4.1.1 receive ram ................................................................................................... 14-5 14.4.1.2 transmit ra m .................................................................................................. 14-6 14.4.1.3 command ram ............................................................................................... 14-6 14.4.2 baud rate se lection ..................................................................................................... .. 14-6 14.4.3 transfer delays ......................................................................................................... ...... 14-7 14.4.4 transfer le ngth ......................................................................................................... ..... 14-8 14.4.5 data transfer ........................................................................................................... ....... 14-8 14.5 programming m odel ......................................................................................................... ......... 14-9 14.5.1 qspi mode register (qmr) . ......................................................................................... 14-9 14.5.2 qspi delay register (qdlyr) ................................................................................... 14-11 14.5.3 qspi wrap register (qwr) ........................................................................................ 14-12 14.5.4 qspi interrupt regi ster (qir) ...................................................................................... 14-13 14.5.5 qspi address regist er (qar) ..................................................................................... 14-14 14.5.6 qspi data register (qdr) .......................................................................................... 14-14 14.5.7 command ram registers (qcr0?qcr15) ............................................................... 14-15 14.5.8 programming exam ple ................................................................................................. 14-1 6 chapter 15 timer module 15.1 overview .................................................................................................................. .................. 15-1 15.2 timer oper ation ........................................................................................................... .............. 15-1 15.3 general-purpose time r register s ........................................................................................... ... 15-3 15.3.1 timer mode registers (tmr0?tmr3) .......................................................................... 15-3 15.3.2 timer reference register s (trr0?trr3) .................................................................... 15-4 15.3.3 timer capture registers (tcap0?tcap3) ................................................................... 15-4 15.3.4 timer counters (tcn 0?tcn3) ..................................................................................... 15-4 15.3.5 timer event registers (ter0?ter3) ........................................................................... 15-5
MCF5272 coldfire ? integrated microprocessor user?s manual, rev. 3 xxiv freescale semiconductor table of contents (continued) paragraph page number title number chapter 16 uart modules 16.1 overview .................................................................................................................. .................. 16-1 16.2 serial module overview .................................................................................................... ........ 16-2 16.3 register desc riptions ..................................................................................................... ............ 16-2 16.3.1 uart mode register s 1 (umr1n) ............................................................................... 16-4 16.3.2 uart mode register 2 (umr2n) ................................................................................. 16-6 16.3.3 uart status registers (usrn) ..................................................................................... 16-7 16.3.4 uart clock-select regi sters (ucsrn) ........................................................................ 16-8 16.3.5 uart command regist ers (ucrn) .............................................................................. 16-9 16.3.6 uart receiver buffers (urbn) ................................................................................. 16-10 16.3.7 uart transmitter buff ers (utbn) ............................................................................. 16-11 16.3.8 uart input port change re gisters (uipcrn) ............................................................ 16-11 16.3.9 uart auxiliary control re gisters (uacrn ) ............................................................. 16-12 16.3.10 uart interrupt status/mask re gisters (uisrn/uimrn) .......................................... 16-12 16.3.11 uart divider upper/lower re gisters (udun/udln) ............................................ 16-14 16.3.12 uart autobaud registers (uabun/uabln) .......................................................... 16-14 16.3.13 uart transmitter fifo re gisters (utfn) ............................................................... 16-15 16.3.14 uart receiver fifo re gisters (urfn) ................................................................... 16-16 16.3.15 uart fractional precision divider control registers (ufpdn) .............................. 16-17 16.3.16 uart input port regi sters (uipn) ............................................................................ 16-17 16.3.17 uart output port command registers (uop1n/uop0n) ....................................... 16-18 16.4 uart module signal de finitions ........................................................................................... 1 6-18 16.5 operati on ................................................................................................................. ................ 16-19 16.5.1 transmitter/receiver clock source .............................................................................. 16-19 16.5.1.1 programmable di vider .................................................................................... 16-20 16.5.1.2 calculating baud rates ................................................................................... 16-20 16.5.1.2.1 clkin baud ra tes ................................................................................ 16-20 16.5.1.2.2 external cl ock........................................................................................ 16-21 16.5.1.2.3 autobaud det ection ............................................................................... 16-21 16.5.2 transmitter and receiver operating mode s ................................................................. 16-22 16.5.2.1 transmitting ................................................................................................... 16-22 16.5.2.2 receiver ................... ....................................................................................... 16-2 4 16.5.2.3 transmitter fi fo ............................................................................................ 16-25 16.5.2.4 receiver fifo ............................................................................................... 16-25 16.5.3 looping modes ........................................................................................................... .. 16-26 16.5.3.1 automatic echo mode .................................................................................... 16-27 16.5.3.2 local loop-back mode .................................................................................. 16-27 16.5.3.3 remote loop-back mode ............................................................................... 16-27 16.5.4 multidrop m ode .......................................................................................................... .. 16-28
MCF5272 coldfire ? integrated microprocessor user?s manual, rev. 3 freescale semiconductor xxv table of contents (continued) paragraph page number title number 16.5.5 bus operation ........................................................................................................... .... 16-29 16.5.5.1 read cycles .................................................................................................... 16-29 16.5.5.2 write cycles ................................................................................................... 16-29 16.5.5.3 interrupt acknowledge cycles ....................................................................... 16-29 16.5.6 programming ............................................................................................................. ... 16-30 16.5.6.1 uart module initializat ion sequence .......................................................... 16-30 chapter 17 general purpose i/o module 17.1 overview .................................................................................................................. .................. 17-1 17.2 port control registers .................................................................................................... ............ 17-2 17.2.1 port a control regist er (pacnt) .................................................................................. 17-3 17.2.2 port b control regist er (pbcnt) .................................................................................. 17-5 17.2.3 port c control register ................................................................................................. . 17-8 17.2.4 port d control regist er (pdcnt) ................................................................................. 17-8 17.3 data direction registers .................................................................................................. ........ 17-10 17.3.1 port a data direction re gister (paddr) .................................................................... 17-10 17.3.2 port b data direction re gister (pbddr) .................................................................... 17-10 17.3.3 port c data direction re gister (pcddr) .................................................................... 17-11 17.4 port data registers ....................................................................................................... ........... 17-11 17.4.1 port data register (pxdat) ......................................................................................... 17-11 chapter 18 pulse-width modula tion (pwm) module 18.1 overview .................................................................................................................. .................. 18-1 18.2 pwm opera tion ............................................................................................................. ............ 18-2 18.3 pwm programming model ..................................................................................................... .. 18-2 18.3.1 pwm control register (pwcrn) .................................................................................. 18-3 18.3.2 pwm width register (pwwdn) ................................................................................... 18-4 chapter 19 signal descriptions 19.1 MCF5272 block diagram with signal interfaces ..................................................................... 19-1 19.2 signal list ............................................................................................................... ................... 19-3 19.3 address bus (a[22:0] /sda[13:0]) .......................................................................................... 1 9-19 19.4 data bus (d[31:0]) ........................................................................................................ .......... 19-19 19.4.1 dynamic data bus sizing ............................................................................................ 19-19 19.5 chip selects (cs7/sdcs, cs[6:0]) ......................................................................................... 1 9-19 19.6 bus control signals ....................................................................................................... .......... 19-20 19.6.1 output enable/rea d (oe/rd) ...................................................................................... 19-20
MCF5272 coldfire ? integrated microprocessor user?s manual, rev. 3 xxvi freescale semiconductor table of contents (continued) paragraph page number title number 19.6.2 byte strobes (b s[3:0]) ................................................................................................. 1 9-20 19.6.3 read/write (r/w) ........................................................................................................ . 19-21 19.6.4 transfer acknowledge (ta/pb5) ................................................................................. 19-22 19.6.5 hi-z .................................................................................................................... .......... 19-22 19.6.6 bypass .................................................................................................................. ......... 19-22 19.6.7 sdram row address stro be (ras0) ........................................................................ 19-22 19.6.8 sdram column address st robe (cas0) ................................................................... 19-22 19.6.9 sdram clock (sdc lk) ............................................................................................. 19-22 19.6.10 sdram write enable (sdwe) ................................................................................. 19-22 19.6.11 sdram clock enable (sdclke) ............................................................................ 19-22 19.6.12 sdram bank selects (s dba[1:0]) .......................................................................... 19-23 19.6.13 sdram row address 10 (a10)/a10 precharge (a10_prechg) .......................... 19-23 19.7 cpu clock and rese t signals ............................................................................................... ... 19-23 19.7.1 rsti ............................................................................................................................. 19 -23 19.7.2 dreseten .................................................................................................................. 19-23 19.7.3 cpu external cloc k (clkin) ..................................................................................... 19-23 19.7.4 reset output (r sto) ................................................................................................... 19 -23 19.8 interrupt request input s (int[6:1]) ....................................................................................... .. 19-23 19.9 general-purpose i/o (gpio) ports .......................................................................................... 19-24 19.10 uart0 module signals and pb[4:0] .................................................................................... 19-24 19.10.1 transmit serial data outp ut (urt0_txd/pb0) ........................................................ 19-24 19.10.2 receive serial data input (urt0_rxd/pb1) ............................................................ 19-25 19.10.3 clear-to-send (urt0_cts/pb2) ............................................................................... 19-25 19.10.4 request to send (urt0_rts /pb3) ............................................................................ 19-25 19.10.5 clock (urt0_clk/p b4) ........................................................................................... 19-25 19.11 usb module signals and pa[6:0] ......................................................................................... 19 -25 19.11.1 usb transmit serial data ou tput (usb_tp/pa 0) .................................................... 19-25 19.11.2 usb receive serial data input (usb_rp/pa 1) ........................................................ 19-25 19.11.3 usb receive data negati ve (usb_rn/pa2) ............................................................ 19-25 19.11.4 usb transmit data negati ve (usb_tn/pa3) ........................................................... 19-26 19.11.5 usb suspend driver (u sb_susp/pa4) .................................................................... 19-26 19.11.6 usb transmitter output enab le (usb_txen/pa5) .................................................. 19-26 19.11.7 usb rx data output (usb_rxd/pa6) ..................................................................... 19-26 19.11.8 usb_d+ and us b_d- ................................................................................................ 19-26 19.11.9 usb_clk ................................................................................................................ .. 19-26 19.11.10 int1/usb wake-on-ri ng (usb_wor) ................................................................. 19-26 19.12 timer module si gnals ..................................................................................................... ....... 19-27 19.12.1 timer input 0 (t in0) .................................................................................................. 1 9-27 19.12.2 timer output (tou t0)/pb7 ...................................................................................... 19-27 19.12.3 timer input 1 (tin1)/pwm mode output 2 (pwm_out2) .................................... 19-27 19.12.4 timer output 1 (tout1)/pwm mode output 1 (pwm_out1) .............................. 19-27
MCF5272 coldfire ? integrated microprocessor user?s manual, rev. 3 freescale semiconductor xxvii table of contents (continued) paragraph page number title number 19.13 ethernet module signals .................................................................................................. ...... 19-27 19.13.1 transmit clock (e_txclk) ....................................................................................... 19-27 19.13.2 transmit data (e _txd0) ..... ....................................................................................... 19-28 19.13.3 collision (e_col) ..................................................................................................... 1 9-28 19.13.4 receive data valid (e_rxdv) ................................................................................... 19-28 19.13.5 receive clock (e_r xclk) ........................................................................................ 19-28 19.13.6 receive data (e_r xd0) ............................................. ................................................ 19-28 19.13.7 transmit enable (e _txen) . ....................................................................................... 19-28 19.13.8 transmit data (e_txd[3 :1]/pb[10:8]) ...................................................................... 19-28 19.13.9 receive data (e_rxd[3:1 ]/pb[13:11]) ...................................................................... 19-28 19.13.10 receive error (e_r xer/pb14) ................................................................................ 19-29 19.13.11 management data clock (e_mdc/pb15) ............................................................... 19-29 19.13.12 management data (e_mdio) .................................................................................. 19-29 19.13.13 transmit error (e _txer) ......................................................................................... 19-29 19.13.14 carrier receive se nse (e_crs) ............................................................................... 19-29 19.14 pwm module signals (pwm_ out0?pwm_out2]) ......................................................... 19-29 19.15 queued serial peripheral inte rface (qspi) signa ls ............................................................... 19-29 19.15.1 qspi synchronous serial data ou tput (qspi_dout/wsel) .................................... 19-30 19.15.2 qspi synchronous serial data input (qspi_din) ..................................................... 19-30 19.15.3 qspi serial clock (qsp i_clk/busw1) .................................................................. 19-30 19.15.4 synchronous peripheral chip sel ect 0 (qspi_cs0/busw0) ................................... 19-30 19.15.5 synchronous peripheral chip sel ect 1 (qspi_cs1/pa11) ........................................ 19-30 19.15.6 synchronous peripheral chip select 2 (qspi_cs2/urt1_cts ) .............................. 19-30 19.15.7 synchronous peripheral chip select 3 (pa7/dout3/qspi_cs3) ............................ 19-30 19.16 physical layer interface controller tdm ports and uart 1 .............................................. 19-31 19.16.1 gci/idl tdm port 0. ................................................ ................................................ 19-3 1 19.16.1.1 frame sync (fsr0/ fsc0/pa8) .................................................................... 19-31 19.16.1.2 d-channel grant (d gnt0/pa9) .................................................................. 19-31 19.16.1.3 data clock (dcl0/ urt1_clk) .................................................................. 19-31 19.16.1.4 serial data input (d in0/urt1_rxd) .......................................................... 19-31 19.16.1.5 uart1 cts (urt1_cts /qspi_cs2) ........................................................ 19-32 19.16.1.6 uart1 rts (urt1_rts /int5) ................................................................. 19-32 19.16.1.7 serial data output (d out0/urt1_txd) ................................................... 19-32 19.16.1.8 d-channel request(dr eq0/pa10) ............................................................. 19-32 19.16.1.9 qspi chip select 1 (q spi_cs1/pa11) ........................................................ 19-32 19.16.2 gci/idl tdm port 1 ................................................................................................. 19-3 2 19.16.2.1 gci/idl data clock (dcl1/gdcl1_out) ............................................... 19-32 19.16.2.2 gci/idl data ou t (dout1) ....................................................................... 19-33 19.16.2.3 gci/idl data in (din1) .............................................................................. 19-33 19.16.2.4 gci/idl frame sync ( fsc1/fsr1/dfsc1) ............................................... 19-33 19.16.2.5 d-channel request (d req1/pa14) ............................................................ 19-33
MCF5272 coldfire ? integrated microprocessor user?s manual, rev. 3 xxviii freescale semiconductor table of contents (continued) paragraph page number title number 19.16.2.6 d-channel grant (dgnt1_i nt6/pa15_int6) ........................................... 19-33 19.16.3 gci/idl tdm ports 2 and 3 ...................................................................................... 19-34 19.16.3.1 gci/idl delayed frame s ync 2 (dfsc2/pa12) ......................................... 19-34 19.16.3.2 gci/idl delayed frame s ync 3 (dfsc3/pa13) ......................................... 19-34 19.16.3.3 qspi_cs3, port 3 gci/idl data ou t 3, pa7 (pa7/dout3/qspi_cs3) ... 19-34 19.16.3.4 int4 and port 3 gci/idl data in (int4/din3) ......................................... 19-35 19.17 jtag test access port a nd bdm debug po rt ...................................................................... 19-35 19.17.1 test clock (tck/ pstclk) ........................................................................................ 19-35 19.17.2 test mode select and force breakpoint (tms/b kpt) .............................................. 19-35 19.17.3 test and debug data ou t (tdo/dso) ...................................................................... 19-36 19.17.4 test and debug data in (tdi/dsi) ............................................................................ 19-36 19.17.5 jtag trst and bdm data clock (trst/dsclk) ................................................ 19-36 19.17.6 freescale test mode se lect (mtmod ) ..................................................................... 19-36 19.17.7 debug transfer error ac knowledge (tea) ............................................................... 19-36 19.17.8 processor status output s (pst[3:0]) .......................................................................... 19-36 19.17.9 debug data (ddata[3 :0]) ........................................................................................ 19-37 19.17.10 device test enable (test) ...................................................................................... 19-37 19.18 operating mode config uration pins ...................................................................................... 19 -37 19.19 power supply pins ........................................................................................................ ......... 19-38 chapter 20 bus operation 20.1 features .................................................................................................................. .................... 20-1 20.2 bus and control signals ................................................................................................... ......... 20-1 20.2.1 address bus (a [22:0]) ................................................................................................... 20-2 20.2.2 data bus (d[ 31:0]) ...................................................................................................... ... 20-2 20.2.3 read/write (r/w) ........................................................................................................ ... 20-2 20.2.4 transfer acknowledge (ta) ........................................................................................... 20-2 20.2.5 transfer error acknow ledge (tea) ............................................................................... 20-3 20.3 bus exception: doubl e bus fault ........................................................................................... ... 20-3 20.4 bus characteristics ....................................................................................................... ............. 20-3 20.5 data transfer mechanism ................................................................................................... ....... 20-4 20.5.1 bus sizing .............................................................................................................. ......... 20-4 20.6 external bus interface types .............................................................................................. ....... 20-7 20.6.1 interface for flash/sram devices with byte strobes ............................................... 20-8 20.6.2 interface for flash/sram devices without byte strobes ........................................ 20-12 20.7 burst data transfers ...................................................................................................... .......... 20-17 20.8 misaligned operands ....................................................................................................... ........ 20-18 20.9 interrupt cycles .......................................................................................................... .............. 20-19 20.10 bus errors ............................................................................................................... ............... 20-19 20.11 bus arbitr ation .......................................................................................................... ............. 20-21
MCF5272 coldfire ? integrated microprocessor user?s manual, rev. 3 freescale semiconductor xxix table of contents (continued) paragraph page number title number 20.12 reset operation .......................................................................................................... ............ 20-21 20.12.1 master reset ........................................................................................................... .... 20-22 20.12.2 normal reset ........................................................................................................... ... 20-23 20.12.3 software watchdog timer re set operation ............................................................... 20-24 20.12.4 soft reset op eration ................................................................................................... 20-25 chapter 21 ieee 1149.1 test access port (jtag) 21.1 overview .................................................................................................................. .................. 21-1 21.2 jtag test access port a nd bdm debug port .......................................................................... 21-2 21.3 tap controller ............................................................................................................ ............... 21-3 21.4 boundary scan re gister .................................................................................................... ......... 21-4 21.5 instruction register ...................................................................................................... .............. 21-7 21.6 restrictions .............................................................................................................. .................. 21-8 21.7 non-ieee 1149.1 op eration ................................................................................................. ..... 21-8 chapter 22 mechanical data 22.1 pinout .................................................................................................................... ..................... 22-1 22.2 package dime nsions ........................................................................................................ .......... 22-2 chapter 23 electrical characteristics 23.1 maximum ratings ........................................................................................................... ........... 23-1 23.1.1 supply, input voltage, and st orage temperat ure ........................................................... 23-1 23.1.2 operating temp erature ................................................................................................... 23-2 23.1.3 resistance .............................................................................................................. ......... 23-2 23.2 dc electrical sp ecifications .............................................................................................. ........ 23-3 23.2.1 output driver capabili ty and loading ........................................................................... 23-3 23.3 ac electrical sp ecifications .............................................................................................. ........ 23-5 23.3.1 clock input and output timi ng specificatio ns .............................................................. 23-5 23.3.2 processor bus input timi ng specifications .................................................................... 23-6 23.3.3 processor bus output timi ng specifications ................................................................. 23-8 23.4 debug ac timing spec ifications ............................................................................................ 23-13 23.5 sdram interface timing specifications ................................................................................ 23-14 23.6 fast ethernet ac timi ng specifications ................................................................................. 23- 17 23.6.1 mii receive signal timing (e_rxd[3:0], e_rxdv, e_rxer, and e_rxclk) ........ 23-17 23.6.2 mii transmit signal timing (e_txd[3:0 ], e_txen, e_txer, e_txclk) .............. 23-18 23.6.3 mii async inputs signal timi ng (crs and co l) ....................................................... 23-19 23.6.4 mii serial management channe l timing (mdio a nd mdc) ..................................... 23-20
MCF5272 coldfire ? integrated microprocessor user?s manual, rev. 3 xxx freescale semiconductor table of contents (continued) paragraph page number title number 23.7 timer module ac timing specifications ................................................................................ 23-21 23.8 uart modules ac timing sp ecifications ............................................................................. 23-22 23.9 plic module: idl and gci interf ace timing specifi cations ................................................ 23-23 23.10 general-purpose i/o port ac timing specificat ions ............................................................ 23-28 23.11 usb interface ac timi ng specifications .............................................................................. 23-29 23.12 ieee 1149.1 (jtag) ac timing specifications ................................................................... 23-30 23.13 qspi electrical spec ifications ........................................................................................... .... 23-31 23.14 pwm electrical sp ecifications ............................................................................................ .. 23-32 appendix a list of memory maps a.1 list of memory map tables.................................................................................................. .......... a-1 appendix b buffering and impedance matching index 1
MCF5272 coldfire ? integrated microprocessor user?s manual, rev. 3 freescale semiconductor xxxi list of tables table page number title number 2-1 ccr field descriptions ...................................... .......................................... ...................... .... 2-6 2-2 movec register map.......................................................................................................... ... 2-7 2-3 status field descriptions ................................................................................................... ..... 2-8 2-4 integer data formats ........................................................................................................ ...... 2-9 2-5 coldfire effective addressing modes .................................................................................. 2-12 2-6 notational conventions ..................................................................................................... ... 2-13 2-7 user-mode instruction set summary .................................................................................... 2-15 2-8 supervisor-mode instruction set summary ......................................................................... 2-18 2-9 misaligned operand references.......................................................................................... 2-19 2-10 move byte and word execution times ................................................................................. 2-20 2-11 move long execution times................................................................................................ 2 -21 2-12 move execution times...................................................................................................... ... 2-21 2-13 one-operand instruction exec ution times ........................................................................... 2-22 2-14 two-operand instruction exec ution times ........................................................................... 2-22 2-15 miscellaneous instruction execution times .......................................................................... 2-24 2-16 general branch instruction execution times........................................................................ 2-25 2-17 bcc instruction execution times .......................................................................................... 2 -25 2-18 exception vector assignments ............................................................................................. 2- 26 2-19 format field encoding ...................................................................................................... .... 2-27 2-20 fault status encodings ..................................................................................................... .... 2-28 2-21 mcf5 272 exceptions .......................................................................................................... 2-28 3-1 mac instruction summary ..................................................................................................... .3-4 4-1 memory map of instruction cache registers .......................................................................... 4-2 4-2 rambar field description .................................................................................................... .4-3 4-3 examples of typical rambar settings.................................................................................. 4-4 4-4 rombar field description.................................................................................................... .4-6 4-5 examples of typical rombar settings ................................................................................. 4-6 4-6 instruction cache operation as defi ned by cacr[cenb,ceib].......................................... 4-11 4-7 memory map of instruction cache registers ........................................................................ 4-12 4-8 cacr field descriptions ..................................................................................................... .4-13 4-9 acrn field descriptions ..................................................................................................... .. 4-14 5-1 debug module signals ........................................................................................................ .... 5-2 5-2 processor status encoding................................................................................................... .. 5-3 5-3 bdm/breakpoint registers.................................................................................................... .. 5-6 5-4 rev. a shared bdm/breakpoint hardware ............................................................................. 5-7 5-5 aatr field descriptions ..................................................................................................... .... 5-7 5-6 ablr field description ...................................................................................................... ..... 5-9 5-7 abhr field description ...................................................................................................... .... 5-9 5-8 csr field descriptions ...................................................................................................... ... 5-10 5-9 dbr field descriptions ...................................................................................................... ... 5-12
MCF5272 coldfire ? integrated microprocessor user?s manual, rev. 3 xxxii freescale semiconductor list of tables (continued) table page number title number 5-10 dbmr field descriptions .................................................................................................... .. 5-12 5-11 access size and operand data location ............................................................................. 5-12 5-12 pbr field descriptions ..................................................................................................... .... 5-13 5-13 pbmr field descriptions .................................................................................................... .. 5-13 5-14 tdr field descriptions ..................................................................................................... .... 5-14 5-15 receive bdm packet field description ................................................................................ 5-18 5-16 transmit bdm packet field description ............................................................................... 5-18 5-17 bdm command summary .................................................................................................... 5-19 5-18 bdm field descriptions..................................................................................................... .... 5-20 5-19 control register map ....................................................................................................... ..... 5-30 5-20 definition of drc encoding?read ....................................................................................... 5-32 5-21 ddata[3:0]/csr[bstat] breakpoint response ................................................................. 5-34 5-22 pst/ddata specification for user-mode instructions ......................................................... 5-37 5-23 pst/ddata specification for supervisor-mode instructions................................................ 5-40 6-1 sim registers ............................................................................................................... .......... 6-3 6-2 mbar field descriptions .................................................................................................... ... 6-4 6-3 scr field descriptions ...................................................................................................... ..... 6-5 6-4 spr field descriptions ...................................................................................................... ..... 6-6 6-5 pmr field descriptions...................................................................................................... ..... 6-8 6-6 usb and usart power down modes ................................................................................... 6-9 6-7 exiting sleep and stop modes .............................................................................................. 6- 10 6-8 dir field descriptions ...................................................................................................... .... 6-11 6-9 wrrr field descriptions ................................... .......................................... ........................ 6-12 6-10 wirr field descriptions .................................................................................................... ... 6-13 6-11 wer field descriptions ..................................................................................................... ... 6-13 7-1 interrupt controller registers .............................................................................................. .... 7-2 7-2 interrupt and power management register mnemonics......................................................... 7-3 7-3 icr field descriptions ...................................................................................................... ...... 7-4 7-4 isr field descriptions...................................................................................................... ....... 7-6 7-5 pitr field descriptions ..................................................................................................... ..... 7-7 7-6 piwr field descriptions ..................................................................................................... .... 7-8 7-7 pivr field descriptions ..................................................................................................... ..... 7-9 7-8 MCF5272 interrupt vector table........................................................................................... 7-1 0 8-1 cscr and csor values after reset ..................................................................................... 8-2 8-2 csbrn field descriptions.................................................................................................... ... 8-3 8-3 output read/write strobe levels versus chip select ebi code ............................................ 8-4 8-4 chip select memory address dec oding priority ..................................................................... 8-5 8-5 csorn field descriptions .................................................................................................... .. 8-5 9-1 sdram controller signal descriptions................................................................................... 9-2 9-2 connecting bs[3:0] to dqmx .................................................................................................. 9-4 9-3 configurations for 16-bit data bus.......................................................................................... 9-4 9-4 configurations for 32-bit data bus.......................................................................................... 9-4 9-5 internal address mult iplexing (16-bit data bus) ..................................................................... 9-5 9-6 internal address mult iplexing (32-bit data bus) ..................................................................... 9-5
MCF5272 coldfire ? integrated microprocessor user?s manual, rev. 3 freescale semiconductor xxxiii list of tables (continued) table page number title number 9-7 sdcr field descriptions ..................................................................................................... ... 9-7 9-8 sdtr field descriptions..................................................................................................... .... 9-8 9-9 sdram controller performance, 32-bit port, (rcd = 0, rp = 1) or (rcd = 1, rp = 0) ...... 9-10 9-10 sdram controller performance, 32?bit port, (rcd = 0, rp = 0)........................................ 9-10 9-11 sdram controller performance (rcd = 1, rp = 1), 16-bit port.......................................... 9-11 9-12 sdram controller performance, 16-bit port, (rcd=0, rp=1) or (rcd=1, rp = 0)9-11 9-13 sdram controller performance, 16-bi t port, (rcd=0, rp=0)............................................. 9-12 10-1 dma data transfer matrix ................................................................................................... .10-1 10-2 dmr field descriptions ..................................................................................................... ... 10-2 10-3 dir field descriptions ..................................................................................................... ..... 10-4 11-1 mii mode ................................................................................................................... ............ 11-3 11-2 seven-wire mode configuration ........................................................................................... 11- 4 11-3 ethernet address recogn ition .............................................................................................. 1 1-7 11-4 transmission errors ........................................................................................................ ...... 11-9 11-5 reception errors ........................................................................................................... ........ 11-9 11-6 fec register memory map................................................................................................. 11- 10 11-7 ecr field descriptions ..................................................................................................... .. 11-11 11-8 eir field descriptions..................................................................................................... .... 11-12 11-9 eimr register field descriptions ....................................................................................... 11-1 3 11-10 ivsr field descriptions ................................................................................................... ... 11-14 11-11 rdar register field descriptions ...................................................................................... 11-1 5 11-12 tdar field descriptions................................................................................................... .. 11-16 11-13 mmfr field descriptions................................................................................................... . 11-17 11-14 mscr field descriptions ................................................................................................... . 11-18 11-15 programming examples for mscr register....................................................................... 11-19 11-16 frbr field descriptions................................................................................................... .. 11-19 11-17 frsr field descriptions................................................................................................... .. 11-20 11-18 tfwr field descriptions ................................................................................................... . 11-21 11-19 tfsr field descriptions ................................................................................................... .. 11-22 11-20 rcr field descripti ons............................ ........................................... ............................. ... 11-23 11-21 mflr field descriptions................................................................................................... .. 11-24 11-22 tcr field descriptions .................................................................................................... ... 11-25 11-23 malr field descriptions................................................................................................... .. 11-26 11-24 maur field descriptions ................................................................................................... . 11-27 11-25 htur field descriptions................................................................................................... .. 11-28 11-26 htlr field descriptions ................................................................................................... .. 11-29 11-27 erdsr field descriptions .................................................................................................. 11-30 11-28 etdsr field descriptions .................................................................................................. 11-31 11-29 emrbr field descriptions.................................................................................................. 11-32 11-30 hardware initialization................................................................................................... ...... 11-33 11-31 ether_en = 0.............................................................................................................. ..... 11-33 11-32 user initialization process ( before ether_en) ................................................................. 11-33 11-33 user initialization (after ether_en) .................................................................................. 11-3 4
MCF5272 coldfire ? integrated microprocessor user?s manual, rev. 3 xxxiv freescale semiconductor list of tables (continued) table page number title number 11-34 rxbd field descriptions ................................................................................................... .. 11-36 11-35 txbd field descriptions................................................................................................... ... 11-37 12-1 usb device requests........................................................................................................ ... 12-5 12-2 usb memory map............................................................................................................. .... 12-7 12-3 fnr field descriptions ..................................................................................................... .... 12-9 12-4 fnmr field descriptions .................................................................................................... .. 12-9 12-5 rfmr field descriptions .................................................................................................... 12-10 12-6 rfmmr field descriptions ................................................................................................. 12 -11 12-7 far field descriptions ..................................................................................................... .. 12-11 12-8 asr field descriptions ..................................................................................................... .. 12-12 12-9 specr field descripti ons ....................... ........................................... ................................ 1 2-14 12-10 ep0sr field descriptions.................................................................................................. . 12-14 12-11 iep0cfg field descriptions ............................................................................................... 1 2-15 12-12 ep0ctl field descriptions ................................................................................................. 12-17 12-13 epnctl field descriptions ................................................................................................. 12-20 12-14 ep0imr and ep0isr field descriptions ............................................................................ 12-22 12-15 epnisr field descriptions................................................................................................. . 12-25 12-16 epnimr field descriptions ................................................................................................. 12-26 12-17 epndr field descriptions.................................................................................................. . 12-27 12-18 epndpr field descriptions ................................................................................................ 1 2-28 12-19 usb fifo access timing ................................................................................................... 1 2-30 12-20 example fifo setup ........................................................................................................ .. 12-32 13-1 plic module memory map ................................................................................................. 13-1 3 13-2 p0cr?p3cr field descriptions ......................................................................................... 13-19 13-3 plcr field description..................................................................................................... .. 13-20 13-4 p0icr?p3icr field descriptions ....................................................................................... 13-21 13-5 p0psr?p3psr field descriptions ..................................................................................... 13-22 13-6 pasr field descripti ons.......................... ........................................... ............................... . 13-23 13-7 p0gmr?p3gmr field descriptions ................................................................................... 13-24 13-8 p0gmt?p3gmt field descri ptions.................................................................................... 13-25 13-9 pgmta field descriptions.................................................................................................. 1 3-26 13-10 pgmts field descriptions.................................................................................................. 13-27 13-11 p0gcir?p3gcir field descriptions.................................................................................. 13-28 13-12 p0gcit?p3gcit field descriptions................................................................................... 13-29 13-13 pgcitsr field descriptions............................................................................................... 1 3-30 13-14 pdcsr field descriptions .................................................................................................. 13-31 13-15 pdrqr field descriptions.................................................................................................. 13-32 13-16 p0sdr?p3sdr field descriptions..................................................................................... 13-33 13-17 pcsr field descriptions................................................................................................... .. 13-34 14-1 qspi input and output signals and functions ..................................................................... 14-3 14-2 qspi_clk frequency as function of cpu clock and baud rate ....................................... 14-7 14-3 qmr field descriptions ..................................................................................................... ... 14-9 14-4 qdlyr field descriptions .................................................................................................. 1 4-11 14-5 qwr field descriptions..................................................................................................... . 14-12
MCF5272 coldfire ? integrated microprocessor user?s manual, rev. 3 freescale semiconductor xxxv list of tables (continued) table page number title number 14-6 qir field descriptions ..................................................................................................... ... 14-13 14-7 qcr0?qcr15 field descriptions....................................................................................... 14-15 15-1 tmrn field descriptions.................................................................................................... ... 15-3 15-2 tern field descriptions .................................................................................................... ... 15-5 16-1 uart module programming model ...................................................................................... 16-3 16-2 umr1n field descriptions ................................................................................................... .16-5 16-3 umr2n field descriptions ................................................................................................... .16-6 16-4 usrn field descriptions .................................................................................................... ... 16-7 16-5 ucsrn field descriptions ................................................................................................... .16-8 16-6 ucrn field descripti ons.......................... ........................................... ............................... ... 16-9 16-7 uipcrn field descriptions ................................................................................................. 1 6-11 16-8 uacrn field descriptions .................................................................................................. 1 6-12 16-9 uisrn/uimrn field descriptions........................................................................................ 16-13 16-10 utfn field descriptions................................................................................................... ... 16-15 16-11 urfn field descriptions ................................................................................................... .. 16-16 16-12 ufpdn field descriptions.................................................................................................. . 16-17 16-13 uipn field descriptions................................................................................................... .... 16-17 16-14 uop1/uop0 field descriptions .......................................................................................... 16-1 8 16-15 uart module signals....................................................................................................... .. 16-19 16-16 transmitter fifo status bits.............................................................................................. . 16-25 16-17 receiver fifo status bits................................................................................................. .. 16-26 17-1 gpio signal multiplexing ................................................................................................... ... 17-1 17-2 gpio port register memory map ......................................................................................... 17-2 17-3 pacnt field descriptions ................................................................................................... .17-3 17-4 port a control register f unction bits ................................................................................... 17- 5 17-5 pbcnt field descriptions ................................................................................................... .17-6 17-6 port b control register f unction bits ................................................................................... 17- 7 17-7 pdcnt field descriptions ................................................................................................... .17-8 17-8 port d control register f unction bits ................................................................................... 17- 9 17-9 paddr field descriptions .................................................................................................. 1 7-10 18-1 pwm module memory map................................................................................................... 18- 2 18-2 pwcrn field descriptions................................................................................................... .18-3 18-3 pwwdn field descriptions................................................................................................... 18-4 19-1 signal descriptions sorted by function ................................................................................ 19-3 19-2 signal name and description by pin number..................................................................... 19-11 19-3 byte strobe operation for 32-bit data bus ......................................................................... 19-20 19-4 byte strobe operation for 16-bit data bus?sram cycles19-21 19-5 byte strobe operation for 16-bit data bus?sdram cycles19-21 19-6 connecting bs[3:0] to dqmx .............................................................................................. 19- 21 19-7 processor status encoding................................................................................................. 1 9-37 19-8 MCF5272 bus width selection19-38
MCF5272 coldfire ? integrated microprocessor user?s manual, rev. 3 xxxvi freescale semiconductor list of tables (continued) table page number title number 19-9 MCF5272 cs0 memory bus width selection19-38 19-10 MCF5272 high impedance mode selection19-38 20-1 coldfire bus signal summary ............................................................................................. 20 -1 20-2 chip select memory address decoding priority20-4 20-3 byte strobe operation for 32-bit data bus ........................................................................... 20-6 20-4 byte strobe operation for 16-bit data bus?sram cycles20-6 20-5 byte strobe operation for 16-bit data bus?sdram cycles20-6 20-6 data bus requirement for read/write cycles...................................................................... 20-7 20-7 external bus interface codes for csbrs ............................................................................. 20-8 21-1 jtag signals ............................................................................................................... ......... 21-2 21-2 instructions............................................................................................................... ............. 21-7 23-1 maximum supply, input voltage and storage temperature ................................................. 23-1 23-2 operating temperature...................................................................................................... ... 23-2 23-3 thermal resistance ......................................................................................................... ..... 23-2 23-4 dc electrical specifications .............................................................................................. ... 23-3 23-5 i/o driver capability ...................................................................................................... ........ 23-3 23-6 clock input and output timing specifications ...................................................................... 23-5 23-7 processor bus input timing specifications........................................................................... 23-6 23-8 processor bus output timing specifications ........................................................................ 23-8 23-9 debug ac timing specification .......................................................................................... 23-1 3 23-10 sdram interface timing specifications ............................................................................. 23-14 23-11 mii receive signal timing ................................................................................................. . 23-17 23-12 mii transmit signal ti ming ................................................................................................ . 23-18 23-13 mii async inputs signal timing........................................................................................... 2 3-19 23-14 mii serial management channel timing............................................................................. 23-20 23-15 timer module ac timing specifications ............................................................................. 23-21 23-16 uart modules ac timing spec ifications........................................................................... 23-22 23-17 idl master mode timing, plic po rts 1, 2, and 3 ............................................................... 23-23 23-18 idl slave mode timing, plic ports 0?3 ............................................................................ 23-24 23-19 gci slave mode timing, plic ports 0?3............................................................................ 23-25 23-20 gci master mode timing, plic ports 1, 2, 3 .................................................................. 23-26 23-21 general-purpose i/o port ac timing specifications .......................................................... 23-28 23-22 usb interface ac timing spec ifications............................................................................. 23-29 23-23 ieee 1149.1 (jtag) ac timing specifications ............ ........................................... ........... 23-30 23-24 qspi modules ac timing spec ifications ............................................................................ 23-31 23-25 pwm modules ac timing specifications............................................................................ 23-32 a-1 on-chip module base address offsets from mbar...............................................................a-1 a-2 cpu space registers memory map .......................................................................................a-2 a-3 on-chip peripherals and configuration registers memory map ............................................a-2
MCF5272 coldfire ? integrated microprocessor user?s manual, rev. 3 freescale semiconductor xxxvii list of tables (continued) table page number title number a-4 interrupt control register memory map..................................................................................a-2 a-5 chip select register memory map .........................................................................................a-3 a-6 gpio port register memory map ...........................................................................................a-3 a-7 qspi module memory map.....................................................................................................a -4 a-8 pwm module memory map.....................................................................................................a- 4 a-9 dma module memory map .....................................................................................................a- 4 a-10 uart0 module memory map..................................................................................................a- 5 a-11 uart1 module memory map..................................................................................................a- 6 a-12 sdram controller memory map.............................................................................................a-7 a-13 timer module memory map .................................................................................................... a-7 a-14 plic module memory map ..................................................................................................... a-8 a-15 ethernet module memory map................................................................................................a -9 a-16 usb module memory map ....................................................................................................a- 10
MCF5272 coldfire ? integrated microprocessor user?s manual, rev. 3 xxxviii freescale semiconductor
MCF5272 coldfire ? integrated microprocessor user?s manual, rev. 3 freescale semiconductor xxxix freescale? and the freescale logo are trade marks of freescale semiconductor, inc. ? freescale semiconductor, inc., 2005. all rights reserved. MCF5272 coldfire ? integrated microprocessor user?s manual to provide the most up-to-date information, the re vision of our documents on the world wide web will be the most current. your printed copy may be an earlier revision. to ve rify you have the latest information available, refer to: http://www.freescale.com/ the following revision history ta ble summarizes changes containe d in this document. for your convenience, the page number designators have been linked to the appropriate location. document revision history rev. no. substantive change(s) 2.1 updated to meet freescale identity guidelines. 3 ? formatting, layout, spelling, and grammar corrections. ? corrected the txfifo bit description in table 16-9 (was ?once set, this bit is cleared by reading utb n ?, is ?after being set, this bit is cleared by writing utb n ?). ? corrected figure 20-12 (oe signal was asserting on the third s dclk clock cycle, is asserting on the second sdclk clock cycle). ? corrected figure 20-13 (r/w and bs signals were asserting on the third sdclk clock cycle, are asserting on the second sdclk clock cycle). ? corrected figure 20-16 (oe signal was asserting on the third s dclk clock cycle, is asserting on the second sdclk clock cycle). ? corrected figure 20-17 (r/w and bs signals were asserting on the third sdclk clock cycle, are asserting on the second sdclk clock cycle).
MCF5272 coldfire ? integrated microprocessor user?s manual, rev. 3 xl freescale semiconductor about this book the primary objective of this user?s manual is to define the functiona lity of the MCF5272 processors for use by software and hardware developers. the information in this book is subjec t to change without notic e, as described in the disclaimers on the title page of this book. as with any technical documentation, it is the readers? responsibility to be sure he is using the most recent vers ion of the documentation. to locate any published errata or updates for th is document, refer to the world-wide web at http://www.freescale.com . audience this manual is intended for system software and hardware developers and applications programmers who want to develop products with the MCF5272. it is assumed that the re ader understands operating systems, microprocessor system design, basic principles of software and hard ware, and basic details of the coldfire ? architecture. organization following is a summary and br ief description of the major sections of this manual: ? chapter 1, ?overview ,? includes general descrip tions of the modul es and features incorporated in the MCF5272, focussing in particular on new features. ? chapter 2, ?coldfire core ,? provides an overview of the microprocessor core of the MCF5272. the chapter describes the organization of the vers ion 2 (v2) coldfire 5200 processor core and an overview of the program-visible registers (the programming model) as they are implemented on the MCF5272. it also includes a full description of exception handling and a table of instruction timings. ? chapter 3, ?hardware multiply/accumulate (mac) unit ,? describes the MCF5272 multiply/accumulate unit, which executes in teger multiply, multiply-accumulate, and miscellaneous register instructi ons. the mac is integrated into the operand execution pipeline (oep). ? chapter 4, ?local memory .? this chapter describes the mcf5 272 implementation of the coldfire v2 local memory specification. it consis ts of three major se ctions, as follows. ? section 4.3, ?sram overview ,? describes the MCF5272 on- chip static ram (sram) implementation. it covers genera l operations, configurat ion, and initializati on. it also provides information and examples of how to minimi ze power consumption when using the sram. ? section 4.4, ?rom overview ,? describes the MCF5272 on-ch ip static rom. the rom module contains tabular data that the coldfire core can access in a single cycle. ? section 4.5, ?instruc tion cache overview ,? describes the MCF5272 cache implementation, including organization, configurat ion, and coherency. it describes cache operations and how the cache interacts with other memory structures.
MCF5272 coldfire ? integrated microprocessor user?s manual, rev. 3 freescale semiconductor xli ? chapter 5, ?debug support ,? describes the revision a hard ware debug support in the MCF5272. ? chapter 6, ?system integration module (sim) ,? describes the sim programming model, bus arbitration, power management, and syst em-protection functions for the MCF5272. ? chapter 7, ?interrupt controller ,? describes operation of the interr upt controller portion of the sim. includes descriptions of the registers in the in terrupt controller memory map and the interrupt priority scheme. ? chapter 8, ?chip select module ,? describes the MCF5272 chip-s elect implementation, including the operation and programming model, which includes the chip-select address, mask, and control registers. ? chapter 9, ?sdram controller ,? describes configuration a nd operation of the synchronous dram controller component of the sim, includi ng a general description of signals involved in sdram operations. it provides in terface information for memory configurations using most common sdram devices for both 16- and 32-bit-wide data buses. the chapter concludes with signal timing diagrams. ? chapter 10, ?dma controller ,? provides an overview of the MCF5272?s one-channel dma controller intended for memory-to-me mory block data transfers. this chapter describes in detail its signals, registers, and operating modes. ? chapter 11, ?ethernet module ,? describes the MCF5272 fast et hernet media access controller (mac). this chapter begins with a feature- set overview, a functional block diagram, and transceiver connection informati on for both mii and seven-wire se rial interfaces. the chapter concludes with detailed descriptions of operation and the programming model. ? chapter 12, ?universal serial bus (usb) ,? provides an overview of the usb module of the MCF5272, including detailed operation info rmation and the usb programming model. connection examples and circuit board la yout considerations are also provided. ? the usb specification, revision 1.1 is a recommended supplement to this chapter. it can be downloaded from http://www.usb.org . chapter 2 of this specification, terms and abbreviations , provides definitions of ma ny of the words found here. ? chapter 13, ?physical layer in terface controller (plic) ,? provides detailed information about the MCF5272?s physical layer interface controller, a module intended to support isdn applications. the chapter begins with a description of operation and a series of related block diagrams starting with a high-level overview. each successive diag ram depicts progressively more internal detail. the chapter then describes timing generation and the programming model and concludes with three application examples. ? chapter 14, ?queued serial peri pheral interface (qspi) module ,? provides a feature-set overview and description of operation, including details of the qspi?s internal ram organization. the chapter concludes with the progr amming model and a timing diagram. ? chapter 15, ?timer module ,? describes configuration and ope ration of the four general-purpose timer modules, timer 0, 1, 2 and 3. ? chapter 16, ?uart modules ,? describes the use of the universal asynchronous/synchronous receiver/transmitters (uarts) implemented on the MCF5272, including example register values for typical configurations.
MCF5272 coldfire ? integrated microprocessor user?s manual, rev. 3 xlii freescale semiconductor ? chapter 17, ?general purpose i/o module ,? describes the operation and programming model of the three general purpose i/o (g pio) ports on the MCF5272. the ch apter details pin assignment, direction-control, and data registers. ? chapter 18, ?pulse-width modulation (pwm) module ,? describes the conf iguration and operation of the pulse-width modulation (p wm) module. it includes a bloc k diagram, programming model, and timing diagram. ? chapter 19, ?signal descriptions ,? provides a listing and brief description of all the MCF5272 signals. specifically, it shows which are inputs or outputs, how they are multiplexed, and the state of each signal at reset. the fi rst listing is organized by f unction, with signals appearing alphabetically within each functi onal group. this is followed by a second listing sorted by pin number. ? chapter 20, ?bus operation ,? describes the functioning of th e bus for data-transfer operations, error conditions, bus arbitration, and reset operations. it includes detailed timing diagrams showing signal interaction. operation of th e bus is defined for transfers initiated by the MCF5272 as a bus master. the MCF5272 does not support ex ternal bus masters. note that chapter 9, ?sdram controller ,? describes dram cycles. ? chapter 21, ?ieee 1149.1 test access port (jtag) ,? describes configura tion and operation of the MCF5272 joint test action group (jtag) implemen tation. it describes t hose items required by the ieee 1149.1 standard and provides additiona l information specific to the MCF5272. for internal details and sample appl ications, see the ieee 1149.1 document. ? chapter 22, ?mechanical data ,? provides a functional pin listing and package diagram for the MCF5272. ? chapter 23, ?electrical characteristics ,? describes ac and dc elec trical specifications and thermal characteristics for the MCF5272. because additional speeds may have become available since the publication of this book, cons ult freescale?s coldfire web page, http://www.freescale.com , to confirm that this is the latest information. this manual includes the following two appendixes: ? appendix a, ?list of memory maps ,? provides the entire address-map for MCF5272 memory-mapped registers. ? appendix b, ?buffering an d impedance matching ,? provides some suggestions regarding interface circuitry betw een the MCF5272 and sdrams. this manual also includes an index.
MCF5272 coldfire ? integrated microprocessor user?s manual, rev. 3 freescale semiconductor xliii suggested reading this section lists additional reading that provides bac kground for the information in this manual as well as general information about the coldfire architecture. general information the following documentation provides useful information about the cold fire architecture and computer architecture in general: coldfire documentation the coldfire documentation is available from the s ources listed on the back cover of this manual. document order numbers are included in parentheses for ease in ordering. ? coldfire programmers reference manual, r1.0 (mcf5200prm/ad) ? user?s manuals?these books provide details about indivi dual coldfire implementations and are intended to be used in conjunction with the coldfire programmers reference manual. these include the following: ? coldfire mcf5102 user?s manual (mcf5102um/ad) ? coldfire mcf5202 user?s manual (mcf5202um/ad) ? coldfire mcf5204 user?s manual (mcf5204um/ad) ? coldfire mcf5206 user?s manual (mcf5206eum/ad) ? coldfire mcf5206e user?s manual (mcf5206eum/ad) ? coldfire mcf5307 user?s manual (mcf5307um/ad) ? coldfire mcf5407 user?s manual (mcf5407um/ad) ? coldfire programmers reference manual, r1.0 (mcf5200prm/ad) ? using microprocessors and microcom puters: the motorola family, william c. wray, ross bannatyne, joseph d. greenfield additional literature on co ldfire implementations is being released as new pro cessors become available. for a current list of coldfire documen tation, refer to the world wide web at http://www.freescale.com .
MCF5272 coldfire ? integrated microprocessor user?s manual, rev. 3 xliv freescale semiconductor conventions this document uses the foll owing notational conventions: mnemonics in text, instruction mn emonics are shown in uppercase. mnemonics in code and tables, instruction mnemonics are shown in lowercase. italics italics indicate variable command parameters. book titles in text are set in italics. 0x0 prefix to denote hexadecimal number 0b0 prefix to denote binary number reg[field] abbreviations for regist ers are shown in uppercase. sp ecific bits, fields, or ranges appear in brackets. for example, rambar [ba] identifies the base address field in the ram base address register. nibble a 4-bit data unit byte an 8-bit data unit word a 16-bit data unit 1 longword a 32-bit data unit x in some contexts, such as signal encodings, x indicates a don?t care. n used to express an undefined numerical value ? not logical operator & and logical operator | or logical operator 1. the only exceptions to this appear in the discussion of serial communication modules that support variable-length data transmission units. to simplify the discussion these un its are referred to as words regardless of length.
MCF5272 coldfire ? integrated microprocessor user?s manual, rev. 3 freescale semiconductor xlv acronyms and abbreviations table i lists acronyms and abbreviati ons used in this document. table i. acronyms and abbreviated terms term meaning adc analog-to-digital conversion alu arithmetic logic unit avec autovector bdm background debug mode bist built-in self test bsdl boundary-scan description language codec code/decode dac digital-to-analog conversion dma direct memory access dsp digital signal processing ea effective address edo extended data output (dram) fifo first-in, first-out gpio general-purpose i/o i 2 c inter-integrated circuit ieee institute for electrical and electronics engineers ifp instruction fetch pipeline ipl interrupt priority level jedec joint electron device engineering council jtag joint test action group lifo last-in, first-out lru least recently used lsb least-significant byte lsb least-significant bit mac multiply accumulate unit, also media access controller mbar memory base address register msb most-significant byte msb most-significant bit mux multiplex nop no operation
MCF5272 coldfire ? integrated microprocessor user?s manual, rev. 3 xlvi freescale semiconductor oep operand execution pipeline pc program counter pclk processor clock plic physical layer interface controller pll phase-locked loop plru pseudo least recently used por power-on reset pqfp plastic quad flat pack pwm pulse-width modulation qspi queued serial peripheral interface risc reduced instruct ion set computing rx receive sim system integration module sof start of frame tap test access port ttl transistor transistor logic tx transmit uart universal asynchronous/synchronous receiver transmitter usb universal serial bus table i. acronyms and abbreviated terms (continued) term meaning
MCF5272 coldfire ? integrated microprocessor user?s manual, rev. 3 freescale semiconductor xlvii terminology conventions table ii shows terminology conventions used throughout this document. table ii. notational conventions instruction operand syntax opcode wildcard cc logical condition (example: ne for not equal) register specifications an any address register n (example: a3 is address register 3) ay,ax source and destination address registers, respectively dn any data register n (example: d5 is data register 5) dy,dx source and destination data registers, respectively rc any control register (example vbr is the vector base register) rm mac registers (acc, mac, mask) rn any address or data register rw destination register w (used for mac instructions only) ry,rx any source and destination registers, respectively xi index register i (can be an address or data register: ai, di) register names acc mac accumulator register ccr condition code register (lower byte of sr) macsr mac status register mask mac mask register pc program counter sr status register port name ddata debug data port pst processor status port miscellaneous operands # immediate data following the 16-b it operation word of the instruction effective address
MCF5272 coldfire ? integrated microprocessor user?s manual, rev. 3 xlviii freescale semiconductor y,x source and destination effective addresses, respectively


▲Up To Search▲   

 
Price & Availability of MCF5272

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X